Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.xml.crypto.wss
Class SecurityTokenImpl

java.lang.Object
  extended by weblogic.xml.crypto.wss.SecurityTokenImpl
All Implemented Interfaces:
Serializable, XMLStructure, SecurityToken, WLDOMStructure
Direct Known Subclasses:
SAMLTokenImpl

public abstract class SecurityTokenImpl
extends Object
implements SecurityToken, Serializable

See Also:
Serialized Form

Constructor Summary
protected SecurityTokenImpl()
           
protected SecurityTokenImpl(Object credentials)
           
 
Method Summary
 Object getCredential()
           
abstract  String getId()
           
abstract  PrivateKey getPrivateKey()
           
abstract  PublicKey getPublicKey()
           
abstract  Key getSecretKey()
           
abstract  String getValueType()
           
abstract  void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface weblogic.xml.dom.marshal.WLDOMStructure
marshal, unmarshal
 
Methods inherited from interface weblogic.xml.crypto.api.XMLStructure
isFeatureSupported
 

Constructor Detail

SecurityTokenImpl

protected SecurityTokenImpl()

SecurityTokenImpl

protected SecurityTokenImpl(Object credentials)
Method Detail

getCredential

public Object getCredential()
Specified by:
getCredential in interface SecurityToken

getValueType

public abstract String getValueType()
Specified by:
getValueType in interface SecurityToken
Returns:
Token type URI.

getId

public abstract String getId()
Specified by:
getId in interface SecurityToken
Returns:
Value of id attribute of security token element.

setId

public abstract void setId(String id)
Specified by:
setId in interface SecurityToken

getPrivateKey

public abstract PrivateKey getPrivateKey()
Specified by:
getPrivateKey in interface SecurityToken

getPublicKey

public abstract PublicKey getPublicKey()
Specified by:
getPublicKey in interface SecurityToken

getSecretKey

public abstract Key getSecretKey()
Specified by:
getSecretKey in interface SecurityToken

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01