Package org.apache.oltu.oauth2.as.issuer
Class MD5Generator
- java.lang.Object
-
- org.apache.oltu.oauth2.as.issuer.MD5Generator
-
- All Implemented Interfaces:
ValueGenerator
public class MD5Generator extends java.lang.Object implements ValueGenerator
Exemplar OAuth Token Generator
-
-
Constructor Summary
Constructors Constructor Description MD5Generator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateValue()
java.lang.String
generateValue(java.lang.String param)
static java.lang.String
toHexString(byte[] data)
-
-
-
Method Detail
-
generateValue
public java.lang.String generateValue() throws OAuthSystemException
- Specified by:
generateValue
in interfaceValueGenerator
- Throws:
OAuthSystemException
-
toHexString
public static java.lang.String toHexString(byte[] data)
-
generateValue
public java.lang.String generateValue(java.lang.String param) throws OAuthSystemException
- Specified by:
generateValue
in interfaceValueGenerator
- Throws:
OAuthSystemException
-
-