public class StaticDelegatingAuthenticator extends Object implements com.atlassian.seraph.auth.Authenticator
| Constructor and Description |
|---|
StaticDelegatingAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getRemoteUser(javax.servlet.http.HttpServletRequest request) |
Principal |
getUser(javax.servlet.http.HttpServletRequest request) |
Principal |
getUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(Map params,
com.atlassian.seraph.config.SecurityConfig securityConfig) |
boolean |
isUserInRole(javax.servlet.http.HttpServletRequest request,
String role) |
boolean |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password) |
boolean |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password,
boolean cookie) |
boolean |
logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public void init(Map params, com.atlassian.seraph.config.SecurityConfig securityConfig)
init in interface com.atlassian.seraph.Initablepublic String getRemoteUser(javax.servlet.http.HttpServletRequest request)
getRemoteUser in interface com.atlassian.seraph.auth.Authenticatorpublic Principal getUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
getUser in interface com.atlassian.seraph.auth.Authenticatorpublic Principal getUser(javax.servlet.http.HttpServletRequest request)
getUser in interface com.atlassian.seraph.auth.Authenticatorpublic boolean isUserInRole(javax.servlet.http.HttpServletRequest request,
String role)
isUserInRole in interface com.atlassian.seraph.auth.Authenticatorpublic boolean login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password,
boolean cookie)
throws com.atlassian.seraph.auth.AuthenticatorException
login in interface com.atlassian.seraph.auth.Authenticatorcom.atlassian.seraph.auth.AuthenticatorExceptionpublic boolean login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password)
throws com.atlassian.seraph.auth.AuthenticatorException
login in interface com.atlassian.seraph.auth.Authenticatorcom.atlassian.seraph.auth.AuthenticatorExceptionpublic boolean logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws com.atlassian.seraph.auth.AuthenticatorException
logout in interface com.atlassian.seraph.auth.Authenticatorcom.atlassian.seraph.auth.AuthenticatorExceptionpublic void destroy()
destroy in interface com.atlassian.seraph.auth.AuthenticatorCopyright © 2018 Atlassian. All rights reserved.