Add javadocs to auth server config props

This commit is contained in:
Dave Syer 2016-06-29 09:11:34 -07:00
parent fc16d9b85c
commit d41127d3da
1 changed files with 14 additions and 0 deletions

View File

@ -27,10 +27,24 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("security.oauth2.authorization")
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;
/**
* 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;
/**
* 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;
public String getCheckTokenAccess() {