1. Has been added to 3.0.5.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Brian Topping" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 2:06 AM
Subject: RE: [JBoss-user] [non HTML repost] References & ObjectFactories


> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> Subject: Re: [JBoss-user] [non HTML repost] References & 
> ObjectFactories
> 

Sorry, this is my first time for remoted MBeans, so I'm a little slow.

> 1. Expose the security manager interfaces methods as MBean 
> operations on
> the JaasSecurityManagerServiceMBean with an additional argument of the
> security domain name. Now the ops are available over any protocol for
> which there is a JMX connector.

Okay, there are a total of four of them.  For example on the
AuthenticationManager exposure:

    public boolean isValid(String securityDomain, Principal principal, Object
credential) {
        SecurityDomainContext securityDomainCtx = (SecurityDomainContext)
securityDomainCtxMap.get(securityDomain);
        if( securityDomainCtx == null ) {
            AuthenticationManager am =
securityDomainCtx.getSecurityManager();
            return am.isValid(principal, credential);
        }
        return false;
    }

Looks okay?




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to