Class SPNEGORolesModule

  • All Implemented Interfaces:
    LoginModule

    public class SPNEGORolesModule
    extends org.jboss.security.auth.spi.AbstractServerLoginModule
    The LoginModule that is responsible for setting up the proper GateIn roles corresponding to the SPNEGO principal that was authenticated
    Author:
    Sohil Shah
    • Constructor Detail

      • SPNEGORolesModule

        public SPNEGORolesModule()
    • Method Detail

      • initialize

        public void initialize​(Subject subject,
                               CallbackHandler callbackHandler,
                               Map sharedState,
                               Map options)
        Specified by:
        initialize in interface LoginModule
        Overrides:
        initialize in class org.jboss.security.auth.spi.AbstractServerLoginModule
      • getIdentity

        protected Principal getIdentity()
        Specified by:
        getIdentity in class org.jboss.security.auth.spi.AbstractServerLoginModule
      • getRoleSets

        protected Group[] getRoleSets()
                               throws LoginException
        Specified by:
        getRoleSets in class org.jboss.security.auth.spi.AbstractServerLoginModule
        Throws:
        LoginException