|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.atlassian.security.auth.trustedapps.seraph.filter.SeraphAuthenticationController
Implementation of theh AuthenticationController to integrate with Atlassian Seraph.
| Constructor Summary | |
SeraphAuthenticationController(com.atlassian.seraph.auth.RoleMapper roleMapper)
|
|
| Method Summary | |
boolean |
canLogin(java.security.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SeraphAuthenticationController(com.atlassian.seraph.auth.RoleMapper roleMapper)
roleMapper - the configured Seraph RoleMapper for the application.
java.lang.IllegalArgumentException - if the roleMapper is null.| Method Detail |
public boolean canLogin(java.security.Principal principal,
javax.servlet.http.HttpServletRequest request)
RoleMapper on whether or not the principal can login.
canLogin in interface AuthenticationControllerprincipal - the identified principalrequest - the current HttpServletRequest
true if the principal is allowed to login for the given request, false
otherwise.AuthenticationController.canLogin(Principal, 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 AuthenticationControllerrequest - the current HttpServletRequest
true if Trusted Apps authentication should be tried, false otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||