Apache CXF API

org.apache.cxf.rt.security.claims
Class Claim

java.lang.Object
  extended by org.apache.cxf.rt.security.claims.Claim
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ProcessedClaim, SAMLClaim

public class Claim
extends Object
implements Serializable

This represents a Claim.

See Also:
Serialized Form

Constructor Summary
Claim()
           
 
Method Summary
 void addValue(Object s)
           
 URI getClaimType()
           
 List<Object> getValues()
           
 boolean isOptional()
           
 void serialize(XMLStreamWriter writer, String prefix, String namespace)
           
 void setClaimType(URI claimType)
           
 void setOptional(boolean optional)
           
 void setValues(List<Object> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Claim

public Claim()
Method Detail

getClaimType

public URI getClaimType()

setClaimType

public void setClaimType(URI claimType)

isOptional

public boolean isOptional()

setOptional

public void setOptional(boolean optional)

setValues

public void setValues(List<Object> values)

addValue

public void addValue(Object s)

getValues

public List<Object> getValues()

serialize

public void serialize(XMLStreamWriter writer,
                      String prefix,
                      String namespace)
               throws XMLStreamException
Throws:
XMLStreamException

Apache CXF API

Apache CXF