This project has retired. For details please refer to its Attic page.
MD5Generator (Apache Oltu: OAuth 2.0 Implementation - Authorization Server 0.31-incubating-SNAPSHOT API)

org.apache.amber.oauth2.as.issuer
Class MD5Generator

java.lang.Object
  extended by org.apache.amber.oauth2.as.issuer.MD5Generator
All Implemented Interfaces:
ValueGenerator

public class MD5Generator
extends Object
implements ValueGenerator

Exemplar OAuth Token Generator


Constructor Summary
MD5Generator()
           
 
Method Summary
 String generateValue()
           
 String generateValue(String param)
           
static String toHexString(byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD5Generator

public MD5Generator()
Method Detail

generateValue

public String generateValue()
                     throws OAuthSystemException
Specified by:
generateValue in interface ValueGenerator
Throws:
OAuthSystemException

toHexString

public static String toHexString(byte[] data)

generateValue

public String generateValue(String param)
                     throws OAuthSystemException
Specified by:
generateValue in interface ValueGenerator
Throws:
OAuthSystemException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.