Package net.shibboleth.idp.cas.service
Class ServiceDefinition
java.lang.Object
net.shibboleth.idp.cas.service.ServiceDefinition
Defines a registered CAS service (i.e. relying party).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetGroup()Get the logical group to which service belong.getId()Get the service identifier.inthashCode()booleanGet whether proxying is authorized.booleanGet whether the service wants to receive SLO message.voidsetAuthorizedToProxy(boolean proxy) Sets the proxy authorization flag.voidSet the group name.voidsetSingleLogoutParticipant(boolean wantsSLO) Determines whether the service participates in SLO.toString()
-
Field Details
-
id
Service identifier. -
group
Logical group to which service belongs. -
authorizedToProxy
private boolean authorizedToProxyProxy authorization flag. -
singleLogoutParticipant
private boolean singleLogoutParticipantIndicates whether a service wants to receive SLO messages.
-
-
Constructor Details
-
ServiceDefinition
Creates a new instance with the given id.- Parameters:
regex- Service identifier. For historical reasons this parameter is named "regex" but will be renamed in a future version.
-
-
Method Details
-
getId
Get the service identifier.- Returns:
- Service identifier
-
getGroup
Get the logical group to which service belong.- Returns:
- Group name to which services matching this definition belong
-
setGroup
Set the group name.- Parameters:
name- Group name.
-
isAuthorizedToProxy
public boolean isAuthorizedToProxy()Get whether proxying is authorized.- Returns:
- true if proxying is authorized, false otherwise
-
setAuthorizedToProxy
public void setAuthorizedToProxy(boolean proxy) Sets the proxy authorization flag.- Parameters:
proxy- True to allow the service to request proxy-granting tickets, false otherwise.
-
isSingleLogoutParticipant
public boolean isSingleLogoutParticipant()Get whether the service wants to receive SLO message.- Returns:
- true to indicate the service wants to receive SLO messages, false otherwise
-
setSingleLogoutParticipant
public void setSingleLogoutParticipant(boolean wantsSLO) Determines whether the service participates in SLO.- Parameters:
wantsSLO- True to indicate the service wants to receive SLO messages, false otherwise.
-
equals
-
hashCode
public int hashCode() -
toString
-