|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.plugin.rest.service.ApplicationAuthenticationContext
public class ApplicationAuthenticationContext
The idea is to set the Token hash as a request header, and then have this header value evaluated if the token is valid
Constructor Summary | |
---|---|
ApplicationAuthenticationContext(TokenAuthenticationManager tokenAuthenticationManager)
|
Method Summary | |
---|---|
java.security.Principal |
getPrincipal()
|
boolean |
isAuthenticated()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationAuthenticationContext(TokenAuthenticationManager tokenAuthenticationManager)
Method Detail |
---|
public java.security.Principal getPrincipal()
getPrincipal
in interface com.atlassian.plugins.rest.common.security.AuthenticationContext
public boolean isAuthenticated()
isAuthenticated
in interface com.atlassian.plugins.rest.common.security.AuthenticationContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |