Class SAML2IntegrationLoginModule

java.lang.Object
org.jboss.security.auth.spi.AbstractServerLoginModule
org.jboss.security.auth.spi.UsernamePasswordLoginModule
org.picketlink.identity.federation.bindings.jboss.auth.SAML2CommonLoginModule
org.picketlink.identity.federation.bindings.jboss.auth.SAML2LoginModule
org.gatein.sso.agent.login.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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    void
    initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
     
    boolean
     

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

    getIdentity, getRoleSets, getUsersPassword

    Methods inherited from class org.jboss.security.auth.spi.UsernamePasswordLoginModule

    createPasswordHash, getCredentials, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, safeClose, setValidateError, validatePassword

    Methods inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule

    abort, addValidOptions, checkOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getUseFirstPass, logout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SAML2IntegrationLoginModule

      public SAML2IntegrationLoginModule()
  • Method Details

    • 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
    • login

      public boolean login() throws LoginException
      Specified by:
      login in interface LoginModule
      Overrides:
      login in class org.jboss.security.auth.spi.UsernamePasswordLoginModule
      Throws:
      LoginException
    • getUsernameFromSharedState

      protected String getUsernameFromSharedState()