|
|
@ -27,10 +27,24 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
@ConfigurationProperties("security.oauth2.authorization")
|
|
|
|
@ConfigurationProperties("security.oauth2.authorization")
|
|
|
|
public class AuthorizationServerProperties {
|
|
|
|
public class AuthorizationServerProperties {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* A Spring Security access rule for the check token endpoint (e.g. a SpEL expression
|
|
|
|
|
|
|
|
* like "isAuthenticated()") . Default is empty, which is interpreted as "denyAll()"
|
|
|
|
|
|
|
|
* (no access).
|
|
|
|
|
|
|
|
*/
|
|
|
|
private String checkTokenAccess;
|
|
|
|
private String checkTokenAccess;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* A Spring Security access rule for the token key endpoint (e.g. a SpEL expression
|
|
|
|
|
|
|
|
* like "isAuthenticated()"). Default is empty, which is interpreted as "denyAll()"
|
|
|
|
|
|
|
|
* (no access).
|
|
|
|
|
|
|
|
*/
|
|
|
|
private String tokenKeyAccess;
|
|
|
|
private String tokenKeyAccess;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* The realm name for client authentication. If an unauthenticated request comes in to
|
|
|
|
|
|
|
|
* the token endpoint, it will respond with a challenge including this name.
|
|
|
|
|
|
|
|
*/
|
|
|
|
private String realm;
|
|
|
|
private String realm;
|
|
|
|
|
|
|
|
|
|
|
|
public String getCheckTokenAccess() {
|
|
|
|
public String getCheckTokenAccess() {
|
|
|
|