Currently I am accessing the JaasSecurityManager in an EJB to authenticate flex 
clients.  This seems to be working well but I have tied myself to JBoss with my 
current implementation.  Is there any generic mechanism to obtain the security 
manager in an Application Server?  Do other application servers provide similar 
mechanisms to get a handle on the security manager?

Currently doing:

        
  | private void function(){
  | String securityManagerObjectName 
="jboss.security:service=JaasSecurityManager";
  |         String mbeanServerJndiName = "jmx/rmi/RMIAdaptor";
  |             
  |         MBeanServerConnection server = 
this.getMbeanServerConnection(mbeanServerJndiName);
  |         ObjectName jaasMgr = new ObjectName(securityManagerObjectName);
  | }
  |     private MBeanServerConnection getMbeanServerConnection(String jndiName){
  |             return (MBeanServerConnection)sessionContext.lookup(jndiName);  
  |     }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183986#4183986

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183986
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to