Apache CXF API

org.apache.cxf.ws.security.policy.model
Class UsernameToken

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.Token
          extended by org.apache.cxf.ws.security.policy.model.UsernameToken
All Implemented Interfaces:
PolicyAssertion, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class UsernameToken
extends Token


Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
UsernameToken(SPConstants version)
           
 
Method Summary
 QName getName()
           
 boolean isHashPassword()
           
 boolean isNoPassword()
           
 boolean isUseUTProfile10()
           
 boolean isUseUTProfile11()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setHashPassword(boolean hashPassword)
           
 void setNoPassword(boolean noPassword)
           
 void setUseUTProfile10(boolean useUTProfile10)
           
 void setUseUTProfile11(boolean useUTProfile11)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.Token
getInclusion, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getPolicy, getSPConstants, getType, isAsserted, isNormalized, isOptional, normalize, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameToken

public UsernameToken(SPConstants version)
Method Detail

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

public QName getName()

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

Apache CXF API

Apache CXF