Class HttpRequestSessionSecretProfileIdentificationMethod

java.lang.Object
dev.getelements.elements.servlet.security.HttpRequestSessionSecretProfileIdentificationMethod
All Implemented Interfaces:
ProfileIdentificationMethod

public class HttpRequestSessionSecretProfileIdentificationMethod extends Object implements ProfileIdentificationMethod
  • Constructor Details

    • HttpRequestSessionSecretProfileIdentificationMethod

      public HttpRequestSessionSecretProfileIdentificationMethod()
  • Method Details

    • attempt

      public Optional<Profile> attempt()
      Description copied from interface: ProfileIdentificationMethod
      Attempts to identify the profile. If this process fails, then this must return an object equivalent to Optional.empty(). Additional methods may be attempted until all possible methods are exhausted or a suitable Profile is found.
      Specified by:
      attempt in interface ProfileIdentificationMethod
      Returns:
      the Profile, never null
    • getHttpServletRequest

      public jakarta.servlet.http.HttpServletRequest getHttpServletRequest()
    • setHttpServletRequest

      @Inject public void setHttpServletRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest)
    • getProfileOverrideService

      public ProfileOverrideService getProfileOverrideService()
    • setProfileOverrideService

      @Inject public void setProfileOverrideService(ProfileOverrideService profileOverrideService)