Example usage for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerSecurityConfigurer passwordEncoder

List of usage examples for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerSecurityConfigurer passwordEncoder

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerSecurityConfigurer passwordEncoder.

Prototype

PasswordEncoder passwordEncoder

To view the source code for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerSecurityConfigurer passwordEncoder.

Click Source Link

Usage

From source file:org.appverse.web.framework.backend.security.oauth2.authserver.configuration.jdbcstore.AuthorizationServerWithJDBCStoreConfigurerAdapter.java

@Override
public void configure(AuthorizationServerSecurityConfigurer security) throws Exception {
    security.passwordEncoder(passwordEncoder);
}

From source file:org.appverse.web.framework.backend.security.oauth2.authserver.configuration.jwtstore.AuthorizationServerWithJWTStoreConfigurerAdapter.java

@Override
public void configure(AuthorizationServerSecurityConfigurer security) throws Exception {
    security.passwordEncoder(passwordEncoder);
    security.tokenKeyAccess("permitAll()").checkTokenAccess("isAuthenticated()");
}