Package org.apache.ws.secpolicy.model
Class UsernameToken
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.Token
org.apache.ws.secpolicy.model.UsernameToken
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
boolean
boolean
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setHashPassword
(boolean hashPassword) void
setNoPassword
(boolean noPassword) void
setUseUTProfile10
(boolean useUTProfile10) void
setUseUTProfile11
(boolean useUTProfile11) Methods inherited from class org.apache.ws.secpolicy.model.Token
getInclusion, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
UsernameToken
public UsernameToken(int version)
-
-
Method Details
-
isUseUTProfile11
public boolean isUseUTProfile11()- Returns:
- Returns the useUTProfile11.
-
setUseUTProfile11
public void setUseUTProfile11(boolean useUTProfile11) - Parameters:
useUTProfile11
- The useUTProfile11 to set.
-
isNoPassword
public boolean isNoPassword() -
setNoPassword
public void setNoPassword(boolean noPassword) -
isHashPassword
public boolean isHashPassword() -
setHashPassword
public void setHashPassword(boolean hashPassword) -
isUseUTProfile10
public boolean isUseUTProfile10() -
setUseUTProfile10
public void setUseUTProfile10(boolean useUTProfile10) -
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-