org.openmdx.kernel.security.token
Class TokenValidator

java.lang.Object
  extended by org.openmdx.kernel.security.token.TokenValidator

public class TokenValidator
extends Object

Token Validator


Constructor Summary
TokenValidator(PublicKey publicKey)
          Constructor
 
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
 

Constructor Detail

TokenValidator

public TokenValidator(PublicKey publicKey)
Constructor

Parameters:
privateKey -
algorithm -
Method Detail

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.