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

java.lang.Object
  extended by org.apache.oltu.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–2014 The Apache Software Foundation. All rights reserved.