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:
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 isRequireCreated()
           
 boolean isRequireNonce()
           
 boolean isUseUTProfile10()
           
 boolean isUseUTProfile11()
           
 void serialize(XMLStreamWriter writer)
           
 void setHashPassword(boolean hashPassword)
           
 void setNoPassword(boolean noPassword)
           
 void setRequireCreated(boolean requireCreated)
           
 void setRequireNonce(boolean requireNonce)
           
 void setUseUTProfile10(boolean useUTProfile10)
           
 void setUseUTProfile11(boolean useUTProfile11)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.Token
getInclusion, getIssuerName, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion, setIssuerName
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getSPConstants, getType, isIgnorable, isNormalized, isOptional, normalize, setIgnorable, 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)

isRequireCreated

public boolean isRequireCreated()

setRequireCreated

public void setRequireCreated(boolean requireCreated)

isRequireNonce

public boolean isRequireNonce()

setRequireNonce

public void setRequireNonce(boolean requireNonce)

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(XMLStreamWriter writer)
               throws XMLStreamException
Throws:
XMLStreamException

Apache CXF API

Apache CXF