Apache CXF API

org.apache.cxf.rs.security.oauth2.tokens.mac
Class MacAccessToken

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.common.AccessToken
      extended by org.apache.cxf.rs.security.oauth2.common.ServerAccessToken
          extended by org.apache.cxf.rs.security.oauth2.tokens.mac.MacAccessToken

public class MacAccessToken
extends ServerAccessToken


Constructor Summary
MacAccessToken(Client client, HmacAlgorithm macAlgo, long lifetime)
           
MacAccessToken(Client client, HmacAlgorithm algo, String tokenKey, long lifetime, long issuedAt)
           
MacAccessToken(Client client, HmacAlgorithm algo, String tokenKey, String macKey, long lifetime, long issuedAt)
           
MacAccessToken(Client client, long lifetime)
           
MacAccessToken(Client client, String macAuthAlgo, long lifetime)
           
 
Method Summary
 String getMacAlgorithm()
           
 String getMacId()
           
 String getMacKey()
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.common.ServerAccessToken
getClient, getGrantType, getLifetime, getScopes, getSubject, setGrantType, setScopes, setSubject
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.common.AccessToken
getExpiresIn, getIssuedAt, getParameters, getRefreshToken, getTokenKey, getTokenType, setExpiresIn, setIssuedAt, setParameters, setRefreshToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacAccessToken

public MacAccessToken(Client client,
                      long lifetime)

MacAccessToken

public MacAccessToken(Client client,
                      String macAuthAlgo,
                      long lifetime)

MacAccessToken

public MacAccessToken(Client client,
                      HmacAlgorithm macAlgo,
                      long lifetime)

MacAccessToken

public MacAccessToken(Client client,
                      HmacAlgorithm algo,
                      String tokenKey,
                      long lifetime,
                      long issuedAt)

MacAccessToken

public MacAccessToken(Client client,
                      HmacAlgorithm algo,
                      String tokenKey,
                      String macKey,
                      long lifetime,
                      long issuedAt)
Method Detail

getMacId

public String getMacId()

getMacKey

public String getMacKey()

getMacAlgorithm

public String getMacAlgorithm()

Apache CXF API

Apache CXF