O- The object being built by the
SecurityBuilderthat builds objects of type O. This is also the
SecurityBuilderthat is being configured.
public interface SecurityConfigurer<O,B extends SecurityBuilder<O>>
SecurityConfigurerfirst have their
init(SecurityBuilder)method invoked. After all
init(SecurityBuilder)methods have been invoked, each
configure(SecurityBuilder)method is invoked.
void init(B builder) throws java.lang.Exception
SecurityBuilder. Here only shared state should be created and modified, but not properties on the
SecurityBuilderused for building the object. This ensures that the
configure(SecurityBuilder)method uses the correct shared objects when building. Configurers should be applied here.
void configure(B builder) throws java.lang.Exception