Class UsernameTokenImpl
java.lang.Object
org.projecthusky.xua.wssecurity.impl.UsernameTokenImpl
- All Implemented Interfaces:
SecurityHeaderElement
,SecurityObject<org.opensaml.soap.wssecurity.UsernameToken>
,UsernameToken
public class UsernameTokenImpl
extends Object
implements UsernameToken, SecurityObject<org.opensaml.soap.wssecurity.UsernameToken>
Implementation class of interfaces UsernameToken and SecurityObject
Implementations Klasse der Interfaces UsernameToken und SecurityObject
-
Constructor Summary
ConstructorsConstructorDescriptionUsernameTokenImpl
(org.opensaml.soap.wssecurity.UsernameToken aInternalObject) Instantiates a new UsernameTokenImpl. -
Method Summary
Modifier and TypeMethodDescriptiongetNonce()
Method to get the nonce. Methode um den Nonce zu erhaltenMethod to get the password. Methode um das Passwort zu erhalten.Method to get the username. Methode um den Usernamen zu erhalten.org.opensaml.soap.wssecurity.UsernameToken
Method to get the wrapped object. Methode um das gewrappte Objekt zu erhalten.
-
Constructor Details
-
UsernameTokenImpl
public UsernameTokenImpl(org.opensaml.soap.wssecurity.UsernameToken aInternalObject) Instantiates a new UsernameTokenImpl.- Parameters:
aInternalObject
- the UsernameToken
-
-
Method Details
-
getNonce
Method to get the nonce.Methode um den Nonce zu erhalten- Specified by:
getNonce
in interfaceUsernameToken
- Returns:
- the nonce (random value) as string.Den Nonce (Zufallswert) als String.
- See Also:
-
getPassword
Method to get the password.Methode um das Passwort zu erhalten.- Specified by:
getPassword
in interfaceUsernameToken
- Returns:
- the password.das Passwort.
- See Also:
-
getUsername
Method to get the username.Methode um den Usernamen zu erhalten.- Specified by:
getUsername
in interfaceUsernameToken
- Returns:
- the username.den Username.
- See Also:
-
getWrappedObject
public org.opensaml.soap.wssecurity.UsernameToken getWrappedObject()Method to get the wrapped object.Methode um das gewrappte Objekt zu erhalten.- Specified by:
getWrappedObject
in interfaceSecurityHeaderElement
- Specified by:
getWrappedObject
in interfaceSecurityObject<org.opensaml.soap.wssecurity.UsernameToken>
- Returns:
- The wrapped object.Das gewrappte Objekt.
- See Also:
-