O
- The object being built by the SecurityBuilder
BB
- The SecurityBuilder
that builds objects of type O. This is also the
SecurityBuilder
that is being configured.public interface SecurityConfigurer<O,B extends SecurityBuilder<O>>
SecurityBuilder
. All SecurityConfigurer
first
have their init(SecurityBuilder)
method invoked. After all
init(SecurityBuilder)
methods have been invoked, each
configure(SecurityBuilder)
method is invoked.AbstractConfiguredSecurityBuilder
Modifier and Type | Method and Description |
---|---|
void |
configure(B builder)
Configure the
SecurityBuilder by setting the necessary properties on the
SecurityBuilder . |
void |
init(B builder)
Initialize the
SecurityBuilder . |
void init(B builder) throws java.lang.Exception
SecurityBuilder
. Here only shared state should be created
and modified, but not properties on the SecurityBuilder
used for building
the object. This ensures that the configure(SecurityBuilder)
method uses
the correct shared objects when building.builder
- java.lang.Exception
void configure(B builder) throws java.lang.Exception
SecurityBuilder
by setting the necessary properties on the
SecurityBuilder
.builder
- java.lang.Exception