Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.xml.security.wsse
Interface UsernameToken

All Superinterfaces:
Token

Deprecated. please use new WS Security API

public interface UsernameToken
extends Token


Method Summary
 long getCreatedTimeInMillis()
          Deprecated. returns the Created in milliseconds time format
 String getNonce()
          Deprecated. returns the nonce, as encoded in the token
 String getPassword()
          Deprecated. Returns the token's password, if available.
 String getPasswordDigest()
          Deprecated. returns the password digest, as encoded in the token
 String getPasswordType()
          Deprecated. returns the password type for the token.
 UserInfo getUserInfo()
          Deprecated. Returns the UserInfo contained in the UsernameToken
 String getUsername()
          Deprecated. Returns the tokens username.
 void setGenerateNonce(boolean nonce)
          Deprecated.  
 void setId(String id)
          Deprecated. Sets the ID attribute of the UsernameToken.
 boolean verifyDigest(String password)
          Deprecated. If the token contains a digest, this method will verify the digest against the provided password
 
Methods inherited from interface weblogic.xml.security.wsse.Token
getCertificate, getCertificateChain, getId, getPrivateKey, getPublicKey, getSecretKey
 

Method Detail

getUsername

String getUsername()
Deprecated. 
Returns the tokens username.


getPassword

String getPassword()
Deprecated. 
Returns the token's password, if available.


getPasswordDigest

String getPasswordDigest()
Deprecated. 
returns the password digest, as encoded in the token


getPasswordType

String getPasswordType()
Deprecated. 
returns the password type for the token.


setId

void setId(String id)
           throws SecurityProcessingException
Deprecated. 
Sets the ID attribute of the UsernameToken.

Parameters:
id -
Throws:
SecurityProcessingException

verifyDigest

boolean verifyDigest(String password)
                     throws NoSuchAlgorithmException
Deprecated. 
If the token contains a digest, this method will verify the digest against the provided password

Parameters:
password -
Throws:
NoSuchAlgorithmException

getUserInfo

UserInfo getUserInfo()
Deprecated. 
Returns the UserInfo contained in the UsernameToken


setGenerateNonce

void setGenerateNonce(boolean nonce)
Deprecated. 

getNonce

String getNonce()
Deprecated. 
returns the nonce, as encoded in the token


getCreatedTimeInMillis

long getCreatedTimeInMillis()
Deprecated. 
returns the Created in milliseconds time format


Copyright 1996, 2011, 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
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06