|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.seraph.auth.AbstractAuthenticator
com.atlassian.seraph.auth.DefaultAuthenticator
com.atlassian.confluence.user.ConfluenceAuthenticator
com.atlassian.confluence.user.ConfluenceGroupJoiningAuthenticator
public class ConfluenceGroupJoiningAuthenticator
This authenticator adds users to the 'confluence-users' group when they first log in.
Field Summary |
---|
Fields inherited from class com.atlassian.seraph.auth.DefaultAuthenticator |
---|
LOGGED_IN_KEY, LOGGED_OUT_KEY |
Fields inherited from interface com.atlassian.seraph.auth.Authenticator |
---|
DEFAULT_AUTHENTICATOR |
Constructor Summary | |
---|---|
ConfluenceGroupJoiningAuthenticator()
|
Method Summary | |
---|---|
protected static boolean |
addUserToGroup(com.atlassian.crowd.embedded.api.User user,
String groupName)
|
protected static com.atlassian.crowd.embedded.api.CrowdService |
getCrowdService()
|
boolean |
login(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse,
String username,
String password,
boolean setRememberMeCookie)
|
Methods inherited from class com.atlassian.confluence.user.ConfluenceAuthenticator |
---|
authenticate, getEventPublisher, getUser, getUser, getUserAccessor, logout, putPrincipalInSessionContext, setUserAccessor |
Methods inherited from class com.atlassian.seraph.auth.DefaultAuthenticator |
---|
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRememberMeService, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isAuthorised, isPrincipalAlreadyInSessionContext, isUserInRole, refreshPrincipalObtainedFromSession, removePrincipalFromSessionContext |
Methods inherited from class com.atlassian.seraph.auth.AbstractAuthenticator |
---|
destroy, getConfig, getRemoteUser, getUser, login |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfluenceGroupJoiningAuthenticator()
Method Detail |
---|
public boolean login(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String username, String password, boolean setRememberMeCookie) throws com.atlassian.seraph.auth.AuthenticatorException
login
in interface com.atlassian.seraph.auth.Authenticator
login
in class ConfluenceAuthenticator
com.atlassian.seraph.auth.AuthenticatorException
protected static boolean addUserToGroup(com.atlassian.crowd.embedded.api.User user, String groupName)
protected static com.atlassian.crowd.embedded.api.CrowdService getCrowdService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |