Apache CXF API

org.apache.cxf.sts.token.validator
Class TokenValidatorResponse

java.lang.Object
  extended by org.apache.cxf.sts.token.validator.TokenValidatorResponse

public class TokenValidatorResponse
extends Object

This class encapsulates the response from a TokenValidator instance after validating a token.


Constructor Summary
TokenValidatorResponse()
           
 
Method Summary
 Map<String,Object> getAdditionalProperties()
           
 Principal getPrincipal()
           
 Set<Principal> getRoles()
           
 ReceivedToken getToken()
           
 String getTokenRealm()
           
 void setAdditionalProperties(Map<String,Object> additionalProperties)
           
 void setPrincipal(Principal principal)
           
 void setRoles(Set<Principal> roles)
           
 void setToken(ReceivedToken token)
           
 void setTokenRealm(String tokenRealm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenValidatorResponse

public TokenValidatorResponse()
Method Detail

getToken

public ReceivedToken getToken()

setToken

public void setToken(ReceivedToken token)

setPrincipal

public void setPrincipal(Principal principal)

getPrincipal

public Principal getPrincipal()

setAdditionalProperties

public void setAdditionalProperties(Map<String,Object> additionalProperties)

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

setTokenRealm

public void setTokenRealm(String tokenRealm)

getTokenRealm

public String getTokenRealm()

getRoles

public Set<Principal> getRoles()

setRoles

public void setRoles(Set<Principal> roles)

Apache CXF API

Apache CXF