Class HttpBasedServiceCredential

java.lang.Object
org.apereo.cas.authentication.credential.AbstractCredential
org.apereo.cas.authentication.credential.HttpBasedServiceCredential
All Implemented Interfaces:
Serializable, org.apereo.cas.authentication.Credential

public class HttpBasedServiceCredential extends AbstractCredential
A credential representing an HTTP endpoint given by a URL. Authenticating the credential usually involves contacting the endpoint via the URL and observing the resulting connection (e.g. SSL certificate) and response (e.g. status, headers).
Since:
3.0.0
See Also:
  • Constructor Details

    • HttpBasedServiceCredential

      public HttpBasedServiceCredential(String callbackUrl, org.apereo.cas.services.CasModelRegisteredService service)
    • HttpBasedServiceCredential

      public HttpBasedServiceCredential()
    • HttpBasedServiceCredential

      public HttpBasedServiceCredential(URL callbackUrl, org.apereo.cas.services.CasModelRegisteredService service)
  • Method Details

    • getId

      public String getId()
    • getCallbackUrl

      public URL getCallbackUrl()
    • getService

      public org.apereo.cas.services.CasModelRegisteredService getService()
    • setCallbackUrl

      public void setCallbackUrl(URL callbackUrl)
    • setService

      public void setService(org.apereo.cas.services.CasModelRegisteredService service)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractCredential
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractCredential