public class WebSSOTokenValidator extends Object implements org.apache.cxf.sts.token.validator.TokenValidator
Modifier and Type | Field and Description |
---|---|
static String |
CAS_BST_SEP |
static String |
CAS_TYPE |
Constructor and Description |
---|
WebSSOTokenValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget) |
boolean |
canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget,
String realm) |
String |
getCasServerUrl() |
void |
setCasServerUrl(String casServerUrl) |
void |
setEncryptionService(EncryptionService encryptionService) |
org.jasig.cas.client.validation.Assertion |
validate(String ticket,
String service)
Validate the CAS ticket and service
|
org.apache.cxf.sts.token.validator.TokenValidatorResponse |
validateToken(org.apache.cxf.sts.token.validator.TokenValidatorParameters tokenParameters)
Validate a Token using the given TokenValidatorParameters.
|
public static final String CAS_TYPE
public static final String CAS_BST_SEP
public String getCasServerUrl()
public void setCasServerUrl(String casServerUrl)
public void setEncryptionService(EncryptionService encryptionService)
public boolean canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget)
canHandleToken
in interface org.apache.cxf.sts.token.validator.TokenValidator
public boolean canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget, String realm)
canHandleToken
in interface org.apache.cxf.sts.token.validator.TokenValidator
public org.apache.cxf.sts.token.validator.TokenValidatorResponse validateToken(org.apache.cxf.sts.token.validator.TokenValidatorParameters tokenParameters)
validateToken
in interface org.apache.cxf.sts.token.validator.TokenValidator
public org.jasig.cas.client.validation.Assertion validate(String ticket, String service) throws org.jasig.cas.client.validation.TicketValidationException
ticket
- service
- org.jasig.cas.client.validation.TicketValidationException
This work is licensed under a Creative Commons Attribution 4.0 International License.