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
HttpSecuritySource
configuredManagedObject
to provide supporting dependencies to theHttpAuthentication
andHttpAccessControl
for using theHttpSecuritySource
.An example is a JWT claims
ManagedObject
. The JWT claims will be translated to the respectiveHttpAuthentication
andHttpAccessControl
(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 viaHttpSecuritySupportingManagedObject
for dependency injection.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
linkAccessControl(O dependency)
Links the custom access control for the dependency.void
linkAuthentication(O dependency)
Links the custom authentication for the dependency.void
linkHttpAccessControl(O dependency)
Links theHttpAccessControl
for the dependency.void
linkHttpAuthentication(O dependency)
Links theHttpAuthentication
for the dependency.void
linkSupportingManagedObject(O dependency, HttpSecuritySupportingManagedObject<?> supportingManagedObject)
Links theHttpSecuritySupportingManagedObject
for 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 theHttpAuthentication
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 theHttpAccessControl
for the dependency.- Parameters:
dependency
- Dependency key.
-
linkSupportingManagedObject
void linkSupportingManagedObject(O dependency, HttpSecuritySupportingManagedObject<?> supportingManagedObject)
Links theHttpSecuritySupportingManagedObject
for the dependency.- Parameters:
dependency
- Dependency key.supportingManagedObject
-HttpSecuritySupportingManagedObject
to link as dependency.
-
-