org.jboss.aerogear.security.picketbox.authz
Class AuthorizationManagerImpl
java.lang.Object
org.jboss.aerogear.security.picketbox.authz.AuthorizationManagerImpl
- All Implemented Interfaces:
- org.jboss.aerogear.security.authz.AuthorizationManager
public class AuthorizationManagerImpl
- extends Object
- implements org.jboss.aerogear.security.authz.AuthorizationManager
User authorization based on the submitted token
|
Field Summary |
private org.picketbox.cdi.PicketBoxIdentity |
identity
|
|
Method Summary |
boolean |
validate(String token)
Token validation against authorization provider |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identity
@Inject
private org.picketbox.cdi.PicketBoxIdentity identity
AuthorizationManagerImpl
public AuthorizationManagerImpl()
validate
public boolean validate(String token)
- Token validation against authorization provider
- Specified by:
validate in interface org.jboss.aerogear.security.authz.AuthorizationManager
- Parameters:
token - the generated token for the current AeroGearUser logged in.
- Returns:
- true if the token is valid
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.