Class TokenParser
java.lang.Object
ch.software_atelier.simpleflex.rest.auth.token.TokenParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetToken(ch.software_atelier.simpleflex.rest.RestRequest req) getUsername(String token) booleanbooleanisAuthorized(String token, String realm) boolean
-
Constructor Details
-
TokenParser
-
-
Method Details
-
getToken
-
isAdmin
- Throws:
TokenHandlerException
-
getUsername
- Throws:
TokenHandlerException
-
allowes
- Throws:
TokenHandlerException
-
isAuthorized
- Throws:
TokenHandlerException
-
verifyACL
- Throws:
TokenHandlerException
-
getRealms
- Throws:
TokenHandlerException
-
getClaims
- Throws:
TokenHandlerException
-