Package org.cipango.security

Examples of org.cipango.security.JBossUserRealm$JBossUserPrincipal


          //this is primarily so that jboss's webservices impl will work, as it
          //sets up a SecurityAssociation that can only be cleared by jetty if
          //there is a realm
          if (_realm == null)
          {
              _realm = new JBossUserRealm("other", getSubjectAttribute());
              getSecurityHandler().setUserRealm(_realm);
          }
 
          //start the realm from within the webapp's classloader as it wants
          //to do JNDI lookups
View Full Code Here


        if(Log.isDebugEnabled())
          Log.debug("Realm is : "+realmName);
       
        if (realmName != null)
        {
            JBossUserRealm realm = new JBossUserRealm(realmName,getJBossWebApplicationContext().getSubjectAttribute());
            getJBossWebApplicationContext().setRealm(realm);
            getJBossWebApplicationContext().getSecurityHandler().setUserRealm(realm);
        }
        super.initLoginConfig(node);
    }
View Full Code Here

TOP

Related Classes of org.cipango.security.JBossUserRealm$JBossUserPrincipal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.