Package org.jenkinsci.plugins.cas
Class CasProtocol
- All Implemented Interfaces:
ExtensionPoint
,Describable<CasProtocol>
- Direct Known Subclasses:
Cas10Protocol
,Cas20Protocol
,Cas30Protocol
,Saml11Protocol
public abstract class CasProtocol
extends AbstractDescribableImpl<CasProtocol>
implements ExtensionPoint
CAS protocol extension point. The protocol determines how to validate a
server response, and may define specific configuration options.
- Author:
- Fabien Crespel
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
CasProtocol
(String authoritiesAttribute) protected
CasProtocol
(String authoritiesAttribute, String fullNameAttribute, String emailAttribute) protected
CasProtocol
(String authoritiesAttribute, String fullNameAttribute, String emailAttribute, String customValidationParams) -
Method Summary
Modifier and TypeMethodDescriptionall()
Returns all the registeredCasProtocol
descriptors.org.springframework.security.cas.ServiceProperties
Create a ServiceProperties object describing the CAS service.abstract org.apereo.cas.client.validation.TicketValidator
createTicketValidator
(String casServerUrl) Create a TicketValidator used to validate a CAS response.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
authoritiesAttribute
-
fullNameAttribute
-
emailAttribute
-
customValidationParams
-
artifactParameter
-
authoritiesAttributes
-
customValidationParamsMap
-
-
Constructor Details
-
CasProtocol
protected CasProtocol() -
CasProtocol
-
CasProtocol
-
CasProtocol
-
-
Method Details
-
getArtifactParameter
- Returns:
- the artifactParameter
-
getAuthoritiesAttribute
- Returns:
- the authoritiesAttribute
-
getAuthoritiesAttributes
- Returns:
- the authoritiesAttributes
-
getFullNameAttribute
- Returns:
- the fullNameAttribute
-
getEmailAttribute
- Returns:
- the emailAttribute
-
getCustomValidationParams
- Returns:
- the customValidationParams
-
getCustomValidationParamsMap
- Returns:
- the customValidationParamsMap
-
createServiceProperties
public org.springframework.security.cas.ServiceProperties createServiceProperties()Create a ServiceProperties object describing the CAS service.- Returns:
- ServiceProperties
-
createTicketValidator
public abstract org.apereo.cas.client.validation.TicketValidator createTicketValidator(String casServerUrl) Create a TicketValidator used to validate a CAS response.- Parameters:
casServerUrl
- CAS server URL prefix- Returns:
- TicketValidator
-
all
Returns all the registeredCasProtocol
descriptors.- Returns:
- all
CasProtocol
descriptors
-