Class DynamicServiceAuthenticationDetails

java.lang.Object
org.jenkinsci.plugins.cas.spring.security.DynamicServiceAuthenticationDetails
All Implemented Interfaces:
Serializable, org.springframework.security.cas.authentication.ServiceAuthenticationDetails

public class DynamicServiceAuthenticationDetails extends Object implements org.springframework.security.cas.authentication.ServiceAuthenticationDetails
ServiceAuthenticationDetails implementation that will convert a relative service URL to an absolute one by adding the Jenkins root URL if necessary.
Author:
Fabien Crespel
See Also:
  • Constructor Details

    • DynamicServiceAuthenticationDetails

      public DynamicServiceAuthenticationDetails(jakarta.servlet.http.HttpServletRequest request, org.springframework.security.cas.ServiceProperties serviceProperties)
  • Method Details

    • getServiceUrl

      public String getServiceUrl()
      Specified by:
      getServiceUrl in interface org.springframework.security.cas.authentication.ServiceAuthenticationDetails
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object