Interface HttpSecuritySupportingManagedObject<O extends Enum<O>>

All Superinterfaces:
PropertyConfigurable
All Known Implementing Classes:
HttpSecuritySupportingManagedObjectImpl

public interface HttpSecuritySupportingManagedObject<O extends Enum<O>> extends PropertyConfigurable

HttpSecuritySource configured ManagedObject to provide supporting dependencies to the HttpAuthentication and HttpAccessControl for using the HttpSecuritySource.

An example is a JWT claims ManagedObject. The JWT claims will be translated to the respective HttpAuthentication and HttpAccessControl (with roles). However, there may be need to access the actual JWT claims object by the application. The JWT claims object can then be made available via HttpSecuritySupportingManagedObject for dependency injection.

Author:
Daniel Sagenschneider
  • Method Details

    • linkAuthentication

      void linkAuthentication(O dependency)
      Links the custom authentication for the dependency.
      Parameters:
      dependency - Dependency key.
    • linkHttpAuthentication

      void linkHttpAuthentication(O dependency)
      Links the HttpAuthentication for the dependency.
      Parameters:
      dependency - Dependency key.
    • linkAccessControl

      void linkAccessControl(O dependency)
      Links the custom access control for the dependency.
      Parameters:
      dependency - Dependency key.
    • linkHttpAccessControl

      void linkHttpAccessControl(O dependency)
      Links the HttpAccessControl for the dependency.
      Parameters:
      dependency - Dependency key.
    • linkSupportingManagedObject

      void linkSupportingManagedObject(O dependency, HttpSecuritySupportingManagedObject<?> supportingManagedObject)
      Links the HttpSecuritySupportingManagedObject for the dependency.
      Parameters:
      dependency - Dependency key.
      supportingManagedObject - HttpSecuritySupportingManagedObject to link as dependency.