org.openmdx.kernel.security.token
Class TokenValidator
java.lang.Object
org.openmdx.kernel.security.token.TokenValidator
public class TokenValidator
- extends Object
Token Validator
|
Method Summary |
Object |
getValue(byte[] token)
Validates a token and returns its value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenValidator
public TokenValidator(PublicKey publicKey)
- Constructor
- Parameters:
privateKey - algorithm -
getValue
public Object getValue(byte[] token)
throws TokenException
- Validates a token and returns its value
- Parameters:
token -
- Returns:
- the token's value
- Throws:
TokenException
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.