BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.xml.security.wsse
Interface UsernameToken

All Superinterfaces:
Token

Deprecated. please use new WS Security API

public interface UsernameToken
extends Token

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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

getCreatedTimeInMillis

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

Returns:

getNonce

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

Returns:

getPassword

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

Returns:

getPasswordDigest

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

Returns:

getPasswordType

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

Returns:

getUserInfo

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

Returns:

getUsername

public String getUsername()
Deprecated. 
Returns the tokens username.

Returns:

setGenerateNonce

public void setGenerateNonce(boolean nonce)
Deprecated. 

setId

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

Parameters:
id -
Throws:
SecurityProcessingException

verifyDigest

public 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 -
Returns:
Throws:
NoSuchAlgorithmException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.