Class ConsentProtocolCustomizer
java.lang.Object
com.irurueta.authserver.authorization.api.web.consent.ConsentProtocolCustomizer
- All Implemented Interfaces:
ProtocolChainCustomizer
@Component
@Order(20)
public class ConsentProtocolCustomizer
extends Object
implements ProtocolChainCustomizer
Points the authorization endpoint at the custom consent page instead of the framework's generated one.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization.OAuth2AuthorizationServerConfigurer server) Customizes the protocol endpoints.
-
Constructor Details
-
ConsentProtocolCustomizer
public ConsentProtocolCustomizer()
-
-
Method Details
-
customize
public void customize(org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization.OAuth2AuthorizationServerConfigurer server) Description copied from interface:ProtocolChainCustomizerCustomizes the protocol endpoints.- Specified by:
customizein interfaceProtocolChainCustomizer- Parameters:
server- configurer of the authorization server.
-