public class ServiceProperties extends Object implements org.springframework.beans.factory.InitializingBean
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 the Acegi Security System for Spring.
Constructor and Description |
---|
ServiceProperties() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
getService()
Represents the service the user is authenticating to.
|
boolean |
isSendRenew()
Indicates whether the
renew parameter should be sent to the CAS login URL and CAS
validation URL. |
void |
setSendRenew(boolean sendRenew) |
void |
setService(String service) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public String getService()
This service is the callback URL belonging to the local Acegi Security System for Spring secured application. For example,
https://www.mycompany.com/application/j_acegi_cas_security_check
public 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 void setSendRenew(boolean sendRenew)
public void setService(String service)
Copyright © 2014. All rights reserved.