Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.xml.security.wsse
Interface UsernameToken

All Superinterfaces:
Token

Deprecated. please use new WS Security API

public interface UsernameToken
extends Token

Method Summary
abstract  long getCreatedTimeInMillis()
          Deprecated. returns the Created in milliseconds time format
abstract  String getNonce()
          Deprecated. returns the nonce, as encoded in the token
abstract  String getPassword()
          Deprecated. Returns the token's password, if available.
abstract  String getPasswordDigest()
          Deprecated. returns the password digest, as encoded in the token
abstract  String getPasswordType()
          Deprecated. returns the password type for the token.
abstract  UserInfo getUserInfo()
          Deprecated. Returns the UserInfo contained in the UsernameToken
abstract  String getUsername()
          Deprecated. Returns the tokens username.
abstract  void setGenerateNonce(boolean nonce)
          Deprecated.  
abstract  void setId(String id)
          Deprecated. Sets the ID attribute of the UsernameToken.
abstract  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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09