aerogear-security-picketbox 1.0.0.M1

org.jboss.aerogear.security.picketbox.authz
Class AuthorizationManagerImpl

java.lang.Object
  extended by 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
           
 
Constructor Summary
AuthorizationManagerImpl()
           
 
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
 

Field Detail

identity

@Inject
private org.picketbox.cdi.PicketBoxIdentity identity
Constructor Detail

AuthorizationManagerImpl

public AuthorizationManagerImpl()
Method Detail

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

aerogear-security-picketbox 1.0.0.M1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.