Package org.apache.geronimo.security.jaspi.impl

Examples of org.apache.geronimo.security.jaspi.impl.GeronimoIdentityService


            serviceSubject = serviceCredentialStore.getSubject(serviceSubjectRealm, serviceSubjectId);
        } else {
            serviceSubject = null;
        }
        this.m_realm = realm;
        identityService = new GeronimoIdentityService(defaultSubject);
        LoginService loginService = new GeronimoLoginService(new ConfigurationFactory() {
            @Override
            public String getConfigurationName() {
                return m_realm;
            }
View Full Code Here


    protected void configureSecurity(StandardContext geronimoContext, String policyContextId, ConfigurationFactory configurationFactory, Subject defaultSubject, String authMethod, String realmName, String loginPage, String errorPage) {
        if (defaultSubject == null) {
            defaultSubject = ContextManager.EMPTY;
        }
        IdentityService identityService = new GeronimoIdentityService(defaultSubject);
        UserIdentity unauthenticatedIdentity = identityService.newUserIdentity(defaultSubject);
        LoginService loginService = new GeronimoLoginService(configurationFactory, identityService);
        Authenticator authenticator;
        AuthConfigFactory authConfigFactory = AuthConfigFactory.getFactory();
        RegistrationListener listener = new RegistrationListener() {
View Full Code Here

TOP

Related Classes of org.apache.geronimo.security.jaspi.impl.GeronimoIdentityService

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.