public interface AuthenticationController
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLogin(Principal principal,
javax.servlet.http.HttpServletRequest request)
Check whether the given principal can log into the application for the current request.
|
boolean |
shouldAttemptAuthentication(javax.servlet.http.HttpServletRequest request)
Check whether or not authentication should be tried.
|
boolean shouldAttemptAuthentication(javax.servlet.http.HttpServletRequest request)
true if the current principal is not already authenticated.request - the current HttpServletRequesttrue if authentication should be tried, false otherwise.boolean canLogin(Principal principal, javax.servlet.http.HttpServletRequest request)
principal - the identified principalrequest - the current HttpServletRequesttrue if the principal is allowed to login for the given request, false
otherwise.Copyright © 2015 Atlassian. All rights reserved.