Package net.officefloor.web.spi.security
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 Summary
Modifier and TypeMethodDescriptionvoidlinkAccessControl(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 Details
-
linkAuthentication
Links the custom authentication for the dependency.- Parameters:
dependency- Dependency key.
-
linkHttpAuthentication
Links theHttpAuthenticationfor the dependency.- Parameters:
dependency- Dependency key.
-
linkAccessControl
Links the custom access control for the dependency.- Parameters:
dependency- Dependency key.
-
linkHttpAccessControl
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.
-