Apache CXF API

org.apache.cxf.rs.security.oauth2.tokens.hawk
Class HawkAuthorizationScheme

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.tokens.hawk.HawkAuthorizationScheme

public class HawkAuthorizationScheme
extends Object


Constructor Summary
HawkAuthorizationScheme(HttpRequestProperties props, AccessToken token)
           
HawkAuthorizationScheme(HttpRequestProperties props, Map<String,String> schemeParams)
           
 
Method Summary
 String getMacKey()
           
 String getNonce()
           
 String getNormalizedRequestString()
           
 String getTimestamp()
           
 String toAuthorizationHeader(String macAlgo, String macSecret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HawkAuthorizationScheme

public HawkAuthorizationScheme(HttpRequestProperties props,
                               AccessToken token)

HawkAuthorizationScheme

public HawkAuthorizationScheme(HttpRequestProperties props,
                               Map<String,String> schemeParams)
Method Detail

getMacKey

public String getMacKey()

getTimestamp

public String getTimestamp()

getNonce

public String getNonce()

toAuthorizationHeader

public String toAuthorizationHeader(String macAlgo,
                                    String macSecret)

getNormalizedRequestString

public String getNormalizedRequestString()

Apache CXF API

Apache CXF