|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.cas.ServiceProperties
public class ServiceProperties
Stores properties related to this CAS service.
Each web application capable of processing CAS tickets is known as a service. This class stores the properties that are relevant to the local CAS service, being the application that is being secured by Spring Security.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CAS_ARTIFACT_PARAMETER
|
static java.lang.String |
DEFAULT_CAS_SERVICE_PARAMETER
|
Constructor Summary | |
---|---|
ServiceProperties()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
java.lang.String |
getArtifactParameter()
|
java.lang.String |
getService()
Represents the service the user is authenticating to. |
java.lang.String |
getServiceParameter()
Configures the Request parameter to look for when attempting to send a request to CAS. |
boolean |
isSendRenew()
Indicates whether the renew parameter should be sent to the CAS login URL and CAS
validation URL. |
void |
setArtifactParameter(java.lang.String artifactParameter)
Configures the Request Parameter to look for when attempting to see if a CAS ticket was sent from the server. |
void |
setSendRenew(boolean sendRenew)
|
void |
setService(java.lang.String service)
|
void |
setServiceParameter(java.lang.String serviceParameter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_CAS_ARTIFACT_PARAMETER
public static final java.lang.String DEFAULT_CAS_SERVICE_PARAMETER
Constructor Detail |
---|
public ServiceProperties()
Method Detail |
---|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public final java.lang.String getService()
This service is the callback URL belonging to the local Spring Security System for Spring secured application. For example,
https://www.mycompany.com/application/j_spring_cas_security_check
public final boolean isSendRenew()
renew
parameter should be sent to the CAS login URL and CAS
validation URL.
If true
, it will force CAS to authenticate the user again (even if the
user has previously authenticated). During ticket validation it will require the ticket was generated as a
consequence of an explicit login. High security applications would probably set this to true
.
Defaults to false
, providing automated single sign on.
renew
parameter to CASpublic final void setSendRenew(boolean sendRenew)
public final void setService(java.lang.String service)
public final java.lang.String getArtifactParameter()
public final void setArtifactParameter(java.lang.String artifactParameter)
artifactParameter
- the id to use. Default is "ticket".public final java.lang.String getServiceParameter()
public final void setServiceParameter(java.lang.String serviceParameter)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |