org.apache.ws.secpolicy.model
Class UsernameToken

java.lang.Object
  extended byorg.apache.ws.secpolicy.model.AbstractSecurityAssertion
      extended byorg.apache.ws.secpolicy.model.Token
          extended byorg.apache.ws.secpolicy.model.UsernameToken
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class UsernameToken
extends Token


Constructor Summary
UsernameToken()
           
 
Method Summary
 javax.xml.namespace.QName getName()
           
 boolean isUseUTProfile10()
           
 boolean isUseUTProfile11()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setUseUTProfile10(boolean useUTProfile10)
           
 void setUseUTProfile11(boolean useUTProfile11)
           
 
Methods inherited from class org.apache.ws.secpolicy.model.Token
getInclusion, isDerivedKeys, setDerivedKeys, setInclusion
 
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, isNormalized, isOptional, 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()
Method Detail

isUseUTProfile11

public boolean isUseUTProfile11()
Returns:
Returns the useUTProfile11.

setUseUTProfile11

public void setUseUTProfile11(boolean useUTProfile11)
Parameters:
useUTProfile11 - The useUTProfile11 to set.

isUseUTProfile10

public boolean isUseUTProfile10()

setUseUTProfile10

public void setUseUTProfile10(boolean useUTProfile10)

getName

public javax.xml.namespace.QName getName()

normalize

public org.apache.neethi.PolicyComponent normalize()
Specified by:
normalize in interface org.apache.neethi.Assertion
Overrides:
normalize in class AbstractSecurityAssertion

serialize

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


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.