public class HttpBasedServiceCredential extends AbstractCredential
| Modifier | Constructor and Description |
|---|---|
protected |
HttpBasedServiceCredential()
Empty constructor used by Kryo for de-serialization.
|
|
HttpBasedServiceCredential(java.lang.String callbackUrl,
org.apereo.cas.services.RegisteredService service) |
|
HttpBasedServiceCredential(java.net.URL callbackUrl,
org.apereo.cas.services.RegisteredService service)
Creates a new instance for an HTTP endpoint located at the given URL.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.net.URL |
getCallbackUrl() |
java.lang.String |
getId() |
org.apereo.cas.services.RegisteredService |
getService()
Gets service associated with credentials.
|
int |
hashCode() |
getCredentialClass, toStringprotected HttpBasedServiceCredential()
public HttpBasedServiceCredential(java.net.URL callbackUrl,
org.apereo.cas.services.RegisteredService service)
callbackUrl - Non-null URL that will be contacted to validate the credential.service - The registered service associated with this callback.public HttpBasedServiceCredential(java.lang.String callbackUrl,
org.apereo.cas.services.RegisteredService service)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic java.lang.String getId()
public java.net.URL getCallbackUrl()
public org.apereo.cas.services.RegisteredService getService()
public int hashCode()
hashCode in class AbstractCredentialpublic boolean equals(java.lang.Object obj)
equals in class AbstractCredential