Class CustomMembershipLoginModule

java.lang.Object
org.exoplatform.services.security.jaas.AbstractLoginModule
org.exoplatform.services.organization.idm.CustomMembershipLoginModule
All Implemented Interfaces:
LoginModule

public class CustomMembershipLoginModule extends org.exoplatform.services.security.jaas.AbstractLoginModule
Login module can be used to add authenticated user to some group after successful login.
For example, user can be add as "member" to group "/platform/users" after his login. Group name and Membership type are configurable and if they are not provided by configuration, then value "member" is used as default value for membership type and "/platform/users" for group.
  • Field Summary

    Fields inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule

    callbackHandler, options, realmName, sharedState, subject
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected void
    Read values from configuration.
    boolean
     
    protected org.exoplatform.services.log.Log
     
    boolean
     
    boolean
     

    Methods inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule

    getContainer, initialize

    Methods inherited from class java.lang.Object

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

    • CustomMembershipLoginModule

      public CustomMembershipLoginModule()
  • Method Details