Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.tokens.mac.MacAuthorizationScheme

public class MacAuthorizationScheme
extends Object


Constructor Summary
MacAuthorizationScheme(HttpRequestProperties props, AccessToken token)
           
MacAuthorizationScheme(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

MacAuthorizationScheme

public MacAuthorizationScheme(HttpRequestProperties props,
                              AccessToken token)

MacAuthorizationScheme

public MacAuthorizationScheme(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