@Named(value="authController") public class RefappAuthenticationController extends Object implements com.atlassian.sal.api.auth.AuthenticationController
SeraphAuthenticationController to use explicit rolemapper| Constructor and Description |
|---|
RefappAuthenticationController(com.atlassian.seraph.auth.RoleMapper roleMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLogin(Principal principal,
javax.servlet.http.HttpServletRequest request)
Checks the
RoleMapper on whether or not the principal can login. |
boolean |
shouldAttemptAuthentication(javax.servlet.http.HttpServletRequest request)
Checks the request attibutes for the
BaseLoginFilter.OS_AUTHSTATUS_KEY. |
@Inject public RefappAuthenticationController(com.atlassian.seraph.auth.RoleMapper roleMapper)
IllegalArgumentException - if the roleMapper is null.public boolean canLogin(Principal principal, javax.servlet.http.HttpServletRequest request)
RoleMapper on whether or not the principal can login.canLogin in interface com.atlassian.sal.api.auth.AuthenticationControllerAuthenticationController.canLogin(java.security.Principal, javax.servlet.http.HttpServletRequest)public boolean shouldAttemptAuthentication(javax.servlet.http.HttpServletRequest request)
BaseLoginFilter.OS_AUTHSTATUS_KEY. Will return true if
the key is not present.shouldAttemptAuthentication in interface com.atlassian.sal.api.auth.AuthenticationControllerCopyright © 2018 Atlassian. All rights reserved.