Interface HttpSecurityArchitect
-
- All Known Implementing Classes:
HttpSecurityArchitectEmployer
public interface HttpSecurityArchitectBuilds theHttpSecurityBuilderinstances for theWebArchitect.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
HttpSecurityBuilderaddHttpSecurity(java.lang.String securityName, java.lang.String httpSecuritySourceClassName)Adds aHttpSecurity.<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
HttpSecurityBuilderaddHttpSecurity(java.lang.String securityName, HttpSecuritySource<A,AC,C,O,F> httpSecuritySource)Adds aHttpSecurity.voidaddHttpSecurityExplorer(HttpSecurityExplorer explorer)Adds aHttpSecurityExplorer.HttpSecurercreateHttpSecurer(HttpSecurable securable)Creates aHttpSecurer.voidinformWebArchitect()Informs theWebArchitectof the necessary security.
-
-
-
Method Detail
-
addHttpSecurity
<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> HttpSecurityBuilder addHttpSecurity(java.lang.String securityName, java.lang.String httpSecuritySourceClassName)
Adds aHttpSecurity.- Type Parameters:
A- Authentication type.AC- Access control type.C- Credentials type.O- Dependency key type.F-Flowkey type.- Parameters:
securityName- Name of theHttpSecurityBuilder. This name is use to qualify dependency injection, should this particularHttpSecurityBuilderbe required.httpSecuritySourceClassName- Name of theHttpSecuritySourceClass.- Returns:
HttpSecurityBuilder.
-
addHttpSecurity
<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> HttpSecurityBuilder addHttpSecurity(java.lang.String securityName, HttpSecuritySource<A,AC,C,O,F> httpSecuritySource)
Adds aHttpSecurity.- Type Parameters:
A- Authentication type.AC- Access control type.C- Credentials type.O- Dependency key type.F-Flowkey type.- Parameters:
securityName- Name of theHttpSecurityBuilder. This name is use to qualify dependency injection, should this particularHttpSecurityBuilderbe required.httpSecuritySource-HttpSecuritySource.- Returns:
HttpSecurityBuilder.
-
createHttpSecurer
HttpSecurer createHttpSecurer(HttpSecurable securable)
Creates aHttpSecurer.- Parameters:
securable-HttpSecurableto provide the access configuration. May benullto just require authentication.- Returns:
HttpSecurer.
-
addHttpSecurityExplorer
void addHttpSecurityExplorer(HttpSecurityExplorer explorer)
Adds aHttpSecurityExplorer.- Parameters:
explorer-HttpSecurityExplorer.
-
informWebArchitect
void informWebArchitect()
Informs theWebArchitectof the necessary security. This is to be invoked once all security is configured.
-
-