Improve configuration keys documentation

This commit is contained in:
Stephane Nicoll
2015-06-11 11:17:36 +02:00
parent 982b74a9b0
commit 34e4163ebc
4 changed files with 28 additions and 3 deletions

View File

@@ -24,13 +24,20 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* Configuration properties for OAuth2 Client.
*
* @author Dave Syer
* @author Stephane Nicoll
* @since 1.3.0
*/
@ConfigurationProperties("spring.oauth2.client")
public class OAuth2ClientProperties {
/**
* OAuth2 client id.
*/
private String clientId;
/**
* OAuth2 client secret. A random secret is generated by default.
*/
private String clientSecret = UUID.randomUUID().toString();
private boolean defaultSecret = true;

View File

@@ -36,7 +36,7 @@ public class OAuth2SsoProperties {
private String loginPath = DEFAULT_LOGIN_PATH;
/**
* The filter order to apply if not providing an explicit WebSecurityConfigurerAdapter
* Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter
* (in which case the order can be provided there instead).
*/
private Integer filterOrder;

View File

@@ -598,6 +598,9 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord
*/
private Integer workerThreads;
/**
* Allocate buffers outside the Java heap.
*/
private Boolean directBuffers;
/**