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 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 String
generateValue()
String
generateValue(String param)
static String
toHexString(byte[] data)
-
-
-
Method Detail
-
generateValue
public String generateValue() throws OAuthSystemException
- Specified by:
generateValue
in interfaceValueGenerator
- Throws:
OAuthSystemException
-
toHexString
public static String toHexString(byte[] data)
-
generateValue
public String generateValue(String param) throws OAuthSystemException
- Specified by:
generateValue
in interfaceValueGenerator
- Throws:
OAuthSystemException
-
-