Apache CXF API

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

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.X509Token
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class X509Token
extends Token


Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
X509Token(SPConstants version)
           
 
Method Summary
 QName getName()
           
 QName getRealName()
           
 String getTokenVersionAndType()
           
 boolean isRequireEmbeddedTokenReference()
           
 boolean isRequireIssuerSerialReference()
           
 boolean isRequireKeyIdentifierReference()
           
 boolean isRequireThumbprintReference()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setRequireEmbeddedTokenReference(boolean requireEmbeddedTokenReference)
           
 void setRequireIssuerSerialReference(boolean requireIssuerSerialReference)
           
 void setRequireKeyIdentifierReference(boolean requireKeyIdentifierReference)
           
 void setRequireThumbprintReference(boolean requireThumbprintReference)
           
 void setTokenVersionAndType(String tokenVersionAndType)
           
 
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

X509Token

public X509Token(SPConstants version)
Method Detail

isRequireEmbeddedTokenReference

public boolean isRequireEmbeddedTokenReference()
Returns:
Returns the requireEmbeddedTokenReference.

setRequireEmbeddedTokenReference

public void setRequireEmbeddedTokenReference(boolean requireEmbeddedTokenReference)
Parameters:
requireEmbeddedTokenReference - The requireEmbeddedTokenReference to set.

isRequireIssuerSerialReference

public boolean isRequireIssuerSerialReference()
Returns:
Returns the requireIssuerSerialReference.

setRequireIssuerSerialReference

public void setRequireIssuerSerialReference(boolean requireIssuerSerialReference)
Parameters:
requireIssuerSerialReference - The requireIssuerSerialReference to set.

isRequireKeyIdentifierReference

public boolean isRequireKeyIdentifierReference()
Returns:
Returns the requireKeyIdentifierReference.

setRequireKeyIdentifierReference

public void setRequireKeyIdentifierReference(boolean requireKeyIdentifierReference)
Parameters:
requireKeyIdentifierReference - The requireKeyIdentifierReference to set.

isRequireThumbprintReference

public boolean isRequireThumbprintReference()
Returns:
Returns the requireThumbprintReference.

setRequireThumbprintReference

public void setRequireThumbprintReference(boolean requireThumbprintReference)
Parameters:
requireThumbprintReference - The requireThumbprintReference to set.

getTokenVersionAndType

public String getTokenVersionAndType()
Returns:
Returns the tokenVersionAndType.

setTokenVersionAndType

public void setTokenVersionAndType(String tokenVersionAndType)
Parameters:
tokenVersionAndType - The tokenVersionAndType to set.

getRealName

public QName getRealName()

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