Package net.officefloor.web.spi.security
Interface HttpSecuritySupportingManagedObject<O extends java.lang.Enum<O>>
-
- All Superinterfaces:
PropertyConfigurable
- All Known Implementing Classes:
HttpSecuritySupportingManagedObjectImpl
public interface HttpSecuritySupportingManagedObject<O extends java.lang.Enum<O>> extends PropertyConfigurable
HttpSecuritySourceconfiguredManagedObjectto provide supporting dependencies to theHttpAuthenticationandHttpAccessControlfor using theHttpSecuritySource.An example is a JWT claims
ManagedObject. The JWT claims will be translated to the respectiveHttpAuthenticationandHttpAccessControl(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 viaHttpSecuritySupportingManagedObjectfor dependency injection.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlinkAccessControl(O dependency)Links the custom access control for the dependency.voidlinkAuthentication(O dependency)Links the custom authentication for the dependency.voidlinkHttpAccessControl(O dependency)Links theHttpAccessControlfor the dependency.voidlinkHttpAuthentication(O dependency)Links theHttpAuthenticationfor the dependency.voidlinkSupportingManagedObject(O dependency, HttpSecuritySupportingManagedObject<?> supportingManagedObject)Links theHttpSecuritySupportingManagedObjectfor the dependency.-
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
-
-
-
Method Detail
-
linkAuthentication
void linkAuthentication(O dependency)
Links the custom authentication for the dependency.- Parameters:
dependency- Dependency key.
-
linkHttpAuthentication
void linkHttpAuthentication(O dependency)
Links theHttpAuthenticationfor 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 theHttpAccessControlfor the dependency.- Parameters:
dependency- Dependency key.
-
linkSupportingManagedObject
void linkSupportingManagedObject(O dependency, HttpSecuritySupportingManagedObject<?> supportingManagedObject)
Links theHttpSecuritySupportingManagedObjectfor the dependency.- Parameters:
dependency- Dependency key.supportingManagedObject-HttpSecuritySupportingManagedObjectto link as dependency.
-
-