Skip navigation links

Oracle Security Token Service Java API Reference
11.1.1.5

E22477-01


oracle.security.fed.sts.token.tpe
Class TokenImpl

java.lang.Object
  extended by oracle.security.fed.sts.token.tpe.TokenImpl

All Implemented Interfaces:
Token

public class TokenImpl
extends java.lang.Object
implements Token

This class represents an OSTS token.


Constructor Summary
TokenImpl()
           

 

Method Summary
 java.lang.Object getToken()
          Fetches the token object
 org.w3c.dom.Document getTokenDocument()
          Fetches the XML DOM representation of the token
 java.lang.String getType()
          Fetches the token type
 void setTokenBytes(byte[] token)
          Set the bytes of the token
 void setTokenDocument(org.w3c.dom.Document doc)
          Sets the Document representation of the token
 void setTokenType(java.lang.String type)
          Sets the token type

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TokenImpl

public TokenImpl()

Method Detail

setTokenBytes

public void setTokenBytes(byte[] token)
Set the bytes of the token
Parameters:
token, - a byte[] value of the token.

getToken

public java.lang.Object getToken()
Fetches the token object
Specified by:
getToken in interface Token
Returns:
the token object

getType

public java.lang.String getType()
Fetches the token type
Specified by:
getType in interface Token
Returns:
the type of token this is.

setTokenType

public void setTokenType(java.lang.String type)
Sets the token type
Parameters:
type, - a String indicating the token type

setTokenDocument

public void setTokenDocument(org.w3c.dom.Document doc)
Sets the Document representation of the token
Parameters:
doc, - a Document object representing the token

getTokenDocument

public org.w3c.dom.Document getTokenDocument()
Fetches the XML DOM representation of the token
Specified by:
getTokenDocument in interface Token
Returns:
a reference to the document representing this token if it was created during processing otherwise this will be null.

Skip navigation links

Oracle Security Token Service Java API Reference
11.1.1.5

E22477-01


Copyright © 2011, Oracle® and/or its affiliates. All rights reserved.