Class CustomUAMCasValidator

java.lang.Object
com.plannaplan.security.cas.CustomUAMCasValidator
All Implemented Interfaces:
CasValidator

public class CustomUAMCasValidator
extends java.lang.Object
implements CasValidator
Cas Validator for UAM with domain registered for email and usosid as a repsonse
  • Constructor Summary

    Constructors
    Constructor Description
    CustomUAMCasValidator​(java.lang.String service, java.lang.String ticket)
    craste new instance
  • Method Summary

    Modifier and Type Method Description
    CasUserIdentity validate()
    validate ticket (should be provided in costructor or by setter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomUAMCasValidator

      public CustomUAMCasValidator​(java.lang.String service, java.lang.String ticket)
      craste new instance
      Parameters:
      service - string with url of our service from where request began
      ticket - ticket returned after user provided creeds on cas page
  • Method Details

    • validate

      public CasUserIdentity validate()
      Description copied from interface: CasValidator
      validate ticket (should be provided in costructor or by setter)
      Specified by:
      validate in interface CasValidator
      Returns:
      CasUserIdentity instance with values from response or null if validation failed