Class SAML2IntegrationLoginModule

  • All Implemented Interfaces:
    LoginModule

    public class SAML2IntegrationLoginModule
    extends org.picketlink.identity.federation.bindings.jboss.auth.SAML2LoginModule
    Login module for integration with GateIn. It's running on GateIn (SAML SP) side.
    Author:
    Marek Posolda
    • Field Summary

      • Fields inherited from class org.picketlink.identity.federation.bindings.jboss.auth.SAML2CommonLoginModule

        groupName
      • Fields inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule

        callbackHandler, log, loginOk, options, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass
    • Constructor Detail

      • SAML2IntegrationLoginModule

        public SAML2IntegrationLoginModule()
    • Method Detail

      • initialize

        public void initialize​(Subject subject,
                               CallbackHandler callbackHandler,
                               Map<String,​?> sharedState,
                               Map<String,​?> options)
        Specified by:
        initialize in interface LoginModule
        Overrides:
        initialize in class org.picketlink.identity.federation.bindings.jboss.auth.SAML2CommonLoginModule
      • getUsernameFromSharedState

        protected String getUsernameFromSharedState()
      • getRoleSets

        protected Group[] getRoleSets()
                               throws LoginException
        Overrides:
        getRoleSets in class org.picketlink.identity.federation.bindings.jboss.auth.SAML2CommonLoginModule
        Throws:
        LoginException