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
org.apache.amber.oauth2.as.issuer.MD5Generator
- All Implemented Interfaces:
- ValueGenerator
public class MD5Generator
- extends Object
- implements ValueGenerator
Exemplar OAuth Token Generator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MD5Generator
public MD5Generator()
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.