Package org.jboss.jetty.security

Examples of org.jboss.jetty.security.JBossUserRealm$JBossNobodyUserPrincipal


        //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.jboss.jetty.security.JBossUserRealm$JBossNobodyUserPrincipal

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.