aerogear-security-picketbox 1.0.0.M1

org.jboss.aerogear.security.picketbox.idm
Class AuthenticationKeyProviderImpl

java.lang.Object
  extended by org.jboss.aerogear.security.picketbox.idm.AuthenticationKeyProviderImpl
All Implemented Interfaces:
org.jboss.aerogear.security.idm.AuthenticationKeyProvider

public class AuthenticationKeyProviderImpl
extends Object
implements org.jboss.aerogear.security.idm.AuthenticationKeyProvider

Authentication key provider


Field Summary
private  org.picketbox.cdi.PicketBoxIdentity identity
           
private static String IDM_SECRET_ATTRIBUTE
           
 
Constructor Summary
AuthenticationKeyProviderImpl()
           
 
Method Summary
 String getSecret()
          Represents the generated secret for the current AeroGearUser logged in.
 String getToken()
          Represents the generated token for the current AeroGearUser logged in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDM_SECRET_ATTRIBUTE

private static final String IDM_SECRET_ATTRIBUTE
See Also:
Constant Field Values

identity

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

AuthenticationKeyProviderImpl

public AuthenticationKeyProviderImpl()
Method Detail

getToken

@Produces
@Token
public String getToken()
Represents the generated token for the current AeroGearUser logged in.

Specified by:
getToken in interface org.jboss.aerogear.security.idm.AuthenticationKeyProvider

getSecret

@Produces
@Secret
public String getSecret()
Represents the generated secret for the current AeroGearUser logged in.

Specified by:
getSecret in interface org.jboss.aerogear.security.idm.AuthenticationKeyProvider

aerogear-security-picketbox 1.0.0.M1

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