|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Allows the underlying framework to communicate Trusted Apps authentication mechanim details
| Method Summary | |
boolean |
canLogin(java.security.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 via Trusted Apps should be tried. |
| Method Detail |
public boolean shouldAttemptAuthentication(javax.servlet.http.HttpServletRequest request)
true if the current principal is not already authenticated.
request - the current HttpServletRequest
true if Trusted Apps authentication should be tried, false otherwise.
public boolean canLogin(java.security.Principal principal,
javax.servlet.http.HttpServletRequest request)
principal - the identified principalrequest - the current HttpServletRequest
true if the principal is allowed to login for the given request, false
otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||