Polish Javadoc to remove warning

This commit is contained in:
mhyeon.lee 2018-07-12 17:46:22 +09:00 committed by Josh Cummings
parent d468d7e6da
commit 18db425861
22 changed files with 50 additions and 51 deletions

View File

@ -122,7 +122,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
* invokes {@link SecurityConfigurerAdapter#setBuilder(SecurityBuilder)}. * invokes {@link SecurityConfigurerAdapter#setBuilder(SecurityBuilder)}.
* *
* @param configurer * @param configurer
* @return * @return the {@link SecurityConfigurerAdapter} for further customizations
* @throws Exception * @throws Exception
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@ -140,7 +140,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
* are not considered. * are not considered.
* *
* @param configurer * @param configurer
* @return * @return the {@link SecurityConfigurerAdapter} for further customizations
* @throws Exception * @throws Exception
*/ */
public <C extends SecurityConfigurer<O, B>> C apply(C configurer) throws Exception { public <C extends SecurityConfigurer<O, B>> C apply(C configurer) throws Exception {
@ -172,7 +172,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
/** /**
* Gets the shared objects * Gets the shared objects
* @return * @return the shared Objects
*/ */
public Map<Class<? extends Object>, Object> getSharedObjects() { public Map<Class<? extends Object>, Object> getSharedObjects() {
return Collections.unmodifiableMap(this.sharedObjects); return Collections.unmodifiableMap(this.sharedObjects);
@ -214,7 +214,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
* List if not found. Note that object hierarchies are not considered. * List if not found. Note that object hierarchies are not considered.
* *
* @param clazz the {@link SecurityConfigurer} class to look for * @param clazz the {@link SecurityConfigurer} class to look for
* @return * @return a list of {@link SecurityConfigurer}s for further customization
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public <C extends SecurityConfigurer<O, B>> List<C> getConfigurers(Class<C> clazz) { public <C extends SecurityConfigurer<O, B>> List<C> getConfigurers(Class<C> clazz) {
@ -230,7 +230,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
* List if not found. Note that object hierarchies are not considered. * List if not found. Note that object hierarchies are not considered.
* *
* @param clazz the {@link SecurityConfigurer} class to look for * @param clazz the {@link SecurityConfigurer} class to look for
* @return * @return a list of {@link SecurityConfigurer}s for further customization
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public <C extends SecurityConfigurer<O, B>> List<C> removeConfigurers(Class<C> clazz) { public <C extends SecurityConfigurer<O, B>> List<C> removeConfigurers(Class<C> clazz) {
@ -246,7 +246,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
* found. Note that object hierarchies are not considered. * found. Note that object hierarchies are not considered.
* *
* @param clazz * @param clazz
* @return * @return the {@link SecurityConfigurer} for further customizations
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public <C extends SecurityConfigurer<O, B>> C getConfigurer(Class<C> clazz) { public <C extends SecurityConfigurer<O, B>> C getConfigurer(Class<C> clazz) {
@ -359,7 +359,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
/** /**
* Subclasses must implement this method to build the object that is being returned. * Subclasses must implement this method to build the object that is being returned.
* *
* @return * @return the Object to be buit or null if the implementation allows it
*/ */
protected abstract O performBuild() throws Exception; protected abstract O performBuild() throws Exception;

View File

@ -51,7 +51,7 @@ public abstract class SecurityConfigurerAdapter<O, B extends SecurityBuilder<O>>
* Return the {@link SecurityBuilder} when done using the {@link SecurityConfigurer}. * Return the {@link SecurityBuilder} when done using the {@link SecurityConfigurer}.
* This is useful for method chaining. * This is useful for method chaining.
* *
* @return * @return the {@link SecurityBuilder} for further customizations
*/ */
public B and() { public B and() {
return getBuilder(); return getBuilder();

View File

@ -258,7 +258,7 @@ public class AuthenticationManagerBuilder
* default configuration in the {@link SecurityConfigurer#configure(SecurityBuilder)} * default configuration in the {@link SecurityConfigurer#configure(SecurityBuilder)}
* method. * method.
* *
* @return * @return true, if {@link AuthenticationManagerBuilder} is configured, otherwise false
*/ */
public boolean isConfigured() { public boolean isConfigured() {
return !authenticationProviders.isEmpty() || parentAuthenticationManager != null; return !authenticationProviders.isEmpty() || parentAuthenticationManager != null;

View File

@ -302,7 +302,7 @@ public class LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuild
/** /**
* Specifies the attribute name which contains the role name. Default is "cn". * Specifies the attribute name which contains the role name. Default is "cn".
* @param groupRoleAttribute the attribute name that maps a group to a role. * @param groupRoleAttribute the attribute name that maps a group to a role.
* @return * @return the {@link LdapAuthenticationProviderConfigurer} for further customizations
*/ */
public LdapAuthenticationProviderConfigurer<B> groupRoleAttribute( public LdapAuthenticationProviderConfigurer<B> groupRoleAttribute(
String groupRoleAttribute) { String groupRoleAttribute) {
@ -384,11 +384,11 @@ public class LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuild
*/ */
public final class PasswordCompareConfigurer { public final class PasswordCompareConfigurer {
/** /**Us
* Allows specifying the {@link PasswordEncoder} to use. The default is * Allows specifying the {@link PasswordEncoder} to use. The default is
* {@link org.springframework.security.crypto.password.NoOpPasswordEncoder}. * {@link org.springframework.security.crypto.password.NoOpPasswordEncoder}.
* @param passwordEncoder the {@link PasswordEncoder} to use * @param passwordEncoder the {@link PasswordEncoder} to use
* @return the {@link PasswordEncoder} to use * @return the {@link PasswordCompareConfigurer} for further customizations
*/ */
public PasswordCompareConfigurer passwordEncoder(PasswordEncoder passwordEncoder) { public PasswordCompareConfigurer passwordEncoder(PasswordEncoder passwordEncoder) {
LdapAuthenticationProviderConfigurer.this.passwordEncoder = passwordEncoder; LdapAuthenticationProviderConfigurer.this.passwordEncoder = passwordEncoder;
@ -602,7 +602,7 @@ public class LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuild
} }
/** /**
* @return * @return the {@link PasswordCompareConfigurer} for further customizations
*/ */
public PasswordCompareConfigurer passwordCompare() { public PasswordCompareConfigurer passwordCompare() {
return new PasswordCompareConfigurer().passwordAttribute("password") return new PasswordCompareConfigurer().passwordAttribute("password")

View File

@ -63,7 +63,7 @@ public class JdbcUserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B
* Populates the {@link DataSource} to be used. This is the only required attribute. * Populates the {@link DataSource} to be used. This is the only required attribute.
* *
* @param dataSource the {@link DataSource} to be used. Cannot be null. * @param dataSource the {@link DataSource} to be used. Cannot be null.
* @return * @return The {@link JdbcUserDetailsManagerConfigurer} used for additional customizations
* @throws Exception * @throws Exception
*/ */
public JdbcUserDetailsManagerConfigurer<B> dataSource(DataSource dataSource) public JdbcUserDetailsManagerConfigurer<B> dataSource(DataSource dataSource)
@ -142,7 +142,7 @@ public class JdbcUserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B
* storage (default is ""). * storage (default is "").
* *
* @param rolePrefix * @param rolePrefix
* @return * @return The {@link JdbcUserDetailsManagerConfigurer} used for additional customizations
* @throws Exception * @throws Exception
*/ */
public JdbcUserDetailsManagerConfigurer<B> rolePrefix(String rolePrefix) public JdbcUserDetailsManagerConfigurer<B> rolePrefix(String rolePrefix)

View File

@ -69,7 +69,7 @@ public class UserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B>, C
* method can be invoked multiple times to add multiple users. * method can be invoked multiple times to add multiple users.
* *
* @param userDetails the user to add. Cannot be null. * @param userDetails the user to add. Cannot be null.
* @return * @return the {@link UserDetailsBuilder} for further customizations
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public final C withUser(UserDetails userDetails) { public final C withUser(UserDetails userDetails) {
@ -82,7 +82,7 @@ public class UserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B>, C
* method can be invoked multiple times to add multiple users. * method can be invoked multiple times to add multiple users.
* *
* @param userBuilder the user to add. Cannot be null. * @param userBuilder the user to add. Cannot be null.
* @return * @return the {@link UserDetailsBuilder} for further customizations
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public final C withUser(User.UserBuilder userBuilder) { public final C withUser(User.UserBuilder userBuilder) {
@ -95,7 +95,7 @@ public class UserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B>, C
* method can be invoked multiple times to add multiple users. * method can be invoked multiple times to add multiple users.
* *
* @param username the username for the user being added. Cannot be null. * @param username the username for the user being added. Cannot be null.
* @return * @return the {@link UserDetailsBuilder} for further customizations
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public final UserDetailsBuilder withUser(String username) { public final UserDetailsBuilder withUser(String username) {

View File

@ -69,7 +69,7 @@ abstract class AbstractDaoAuthenticationConfigurer<B extends ProviderManagerBuil
* {@link DaoAuthenticationProvider}. The default is to use plain text. * {@link DaoAuthenticationProvider}. The default is to use plain text.
* *
* @param passwordEncoder The {@link PasswordEncoder} to use. * @param passwordEncoder The {@link PasswordEncoder} to use.
* @return * @return the {@link AbstractDaoAuthenticationConfigurer} for further customizations
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public C passwordEncoder(PasswordEncoder passwordEncoder) { public C passwordEncoder(PasswordEncoder passwordEncoder) {

View File

@ -118,7 +118,7 @@ public class GlobalMethodSecurityConfiguration
* {@link MethodInterceptor}. * {@link MethodInterceptor}.
* </p> * </p>
* *
* @return * @return the {@link MethodInterceptor}.
* @throws Exception * @throws Exception
*/ */
@Bean @Bean
@ -204,7 +204,7 @@ public class GlobalMethodSecurityConfiguration
* {@link AfterInvocationManager} * {@link AfterInvocationManager}
* </p> * </p>
* *
* @return * @return the {@link AfterInvocationManager} to use
*/ */
protected AfterInvocationManager afterInvocationManager() { protected AfterInvocationManager afterInvocationManager() {
if (prePostEnabled()) { if (prePostEnabled()) {
@ -225,7 +225,7 @@ public class GlobalMethodSecurityConfiguration
* Provide a custom {@link RunAsManager} for the default implementation of * Provide a custom {@link RunAsManager} for the default implementation of
* {@link #methodSecurityInterceptor()}. The default is null. * {@link #methodSecurityInterceptor()}. The default is null.
* *
* @return * @return the {@link RunAsManager} to use
*/ */
protected RunAsManager runAsManager() { protected RunAsManager runAsManager() {
return null; return null;
@ -241,7 +241,7 @@ public class GlobalMethodSecurityConfiguration
* <li>{@link AuthenticatedVoter}</li> * <li>{@link AuthenticatedVoter}</li>
* </ul> * </ul>
* *
* @return * @return the {@link AccessDecisionManager} to use
*/ */
protected AccessDecisionManager accessDecisionManager() { protected AccessDecisionManager accessDecisionManager() {
List<AccessDecisionVoter<? extends Object>> decisionVoters = new ArrayList<AccessDecisionVoter<? extends Object>>(); List<AccessDecisionVoter<? extends Object>> decisionVoters = new ArrayList<AccessDecisionVoter<? extends Object>>();
@ -270,7 +270,7 @@ public class GlobalMethodSecurityConfiguration
* {@link MethodSecurityExpressionHandler} * {@link MethodSecurityExpressionHandler}
* </p> * </p>
* *
* @return * @return the {@link MethodSecurityExpressionHandler} to use
*/ */
protected MethodSecurityExpressionHandler createExpressionHandler() { protected MethodSecurityExpressionHandler createExpressionHandler() {
return defaultMethodExpressionHandler; return defaultMethodExpressionHandler;
@ -307,7 +307,7 @@ public class GlobalMethodSecurityConfiguration
* {@link #configure(AuthenticationManagerBuilder)} was not overridden, then an * {@link #configure(AuthenticationManagerBuilder)} was not overridden, then an
* {@link AuthenticationManager} is attempted to be autowired by type. * {@link AuthenticationManager} is attempted to be autowired by type.
* *
* @return * @return the {@link AuthenticationManager} to use
*/ */
protected AuthenticationManager authenticationManager() throws Exception { protected AuthenticationManager authenticationManager() throws Exception {
if (authenticationManager == null) { if (authenticationManager == null) {
@ -346,7 +346,7 @@ public class GlobalMethodSecurityConfiguration
* {@link #customMethodSecurityMetadataSource()} and the attributes on * {@link #customMethodSecurityMetadataSource()} and the attributes on
* {@link EnableGlobalMethodSecurity}. * {@link EnableGlobalMethodSecurity}.
* *
* @return * @return the {@link MethodSecurityMetadataSource}
*/ */
@Bean @Bean
public MethodSecurityMetadataSource methodSecurityMetadataSource() { public MethodSecurityMetadataSource methodSecurityMetadataSource() {
@ -379,7 +379,7 @@ public class GlobalMethodSecurityConfiguration
* Creates the {@link PreInvocationAuthorizationAdvice} to be used. The default is * Creates the {@link PreInvocationAuthorizationAdvice} to be used. The default is
* {@link ExpressionBasedPreInvocationAdvice}. * {@link ExpressionBasedPreInvocationAdvice}.
* *
* @return * @return the {@link PreInvocationAuthorizationAdvice}
*/ */
@Bean @Bean
public PreInvocationAuthorizationAdvice preInvocationAuthorizationAdvice() { public PreInvocationAuthorizationAdvice preInvocationAuthorizationAdvice() {

View File

@ -327,7 +327,7 @@ public final class HttpSecurity extends
* } * }
* </pre> * </pre>
* *
* @return * @return the {@link HeadersConfigurer} for further customizations
* @throws Exception * @throws Exception
* @see HeadersConfigurer * @see HeadersConfigurer
*/ */
@ -643,7 +643,7 @@ public final class HttpSecurity extends
* *
* @see #requestMatcher(RequestMatcher) * @see #requestMatcher(RequestMatcher)
* *
* @return * @return the {@link ExpressionUrlAuthorizationConfigurer} for further customizations
* @throws Exception * @throws Exception
*/ */
public ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry authorizeRequests() public ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry authorizeRequests()
@ -763,7 +763,7 @@ public final class HttpSecurity extends
* } * }
* </pre> * </pre>
* *
* @return * @return the {@link LogoutConfigurer} for further customizations
* @throws Exception * @throws Exception
*/ */
public LogoutConfigurer<HttpSecurity> logout() throws Exception { public LogoutConfigurer<HttpSecurity> logout() throws Exception {
@ -826,7 +826,7 @@ public final class HttpSecurity extends
* } * }
* </pre> * </pre>
* *
* @return * @return the {@link AnonymousConfigurer} for further customizations
* @throws Exception * @throws Exception
*/ */
public AnonymousConfigurer<HttpSecurity> anonymous() throws Exception { public AnonymousConfigurer<HttpSecurity> anonymous() throws Exception {
@ -890,7 +890,7 @@ public final class HttpSecurity extends
* *
* @see FormLoginConfigurer#loginPage(String) * @see FormLoginConfigurer#loginPage(String)
* *
* @return * @return the {@link FormLoginConfigurer} for further customizations
* @throws Exception * @throws Exception
*/ */
public FormLoginConfigurer<HttpSecurity> formLogin() throws Exception { public FormLoginConfigurer<HttpSecurity> formLogin() throws Exception {

View File

@ -235,7 +235,7 @@ public final class WebSecurity extends
/** /**
* Gets the {@link SecurityExpressionHandler} to be used. * Gets the {@link SecurityExpressionHandler} to be used.
* @return * @return the {@link SecurityExpressionHandler} for further customizations
*/ */
public SecurityExpressionHandler<FilterInvocation> getExpressionHandler() { public SecurityExpressionHandler<FilterInvocation> getExpressionHandler() {
return expressionHandler; return expressionHandler;
@ -243,7 +243,7 @@ public final class WebSecurity extends
/** /**
* Gets the {@link WebInvocationPrivilegeEvaluator} to be used. * Gets the {@link WebInvocationPrivilegeEvaluator} to be used.
* @return * @return the {@link WebInvocationPrivilegeEvaluator} for further customizations
*/ */
public WebInvocationPrivilegeEvaluator getPrivilegeEvaluator() { public WebInvocationPrivilegeEvaluator getPrivilegeEvaluator() {
if (privilegeEvaluator != null) { if (privilegeEvaluator != null) {

View File

@ -88,7 +88,7 @@ public class WebSecurityConfiguration implements ImportAware, BeanClassLoaderAwa
/** /**
* Creates the Spring Security Filter Chain * Creates the Spring Security Filter Chain
* @return * @return the {@link Filter} that represents the security filter chain
* @throws Exception * @throws Exception
*/ */
@Bean(name = AbstractSecurityWebApplicationInitializer.DEFAULT_FILTER_NAME) @Bean(name = AbstractSecurityWebApplicationInitializer.DEFAULT_FILTER_NAME)

View File

@ -257,7 +257,7 @@ public abstract class WebSecurityConfigurerAdapter implements
* {@link AuthenticationManagerBuilder} that was passed in. Otherwise, autowire the * {@link AuthenticationManagerBuilder} that was passed in. Otherwise, autowire the
* {@link AuthenticationManager} by type. * {@link AuthenticationManager} by type.
* *
* @return * @return the {@link AuthenticationManager} to use
* @throws Exception * @throws Exception
*/ */
protected AuthenticationManager authenticationManager() throws Exception { protected AuthenticationManager authenticationManager() throws Exception {
@ -291,7 +291,7 @@ public abstract class WebSecurityConfigurerAdapter implements
* *
* To change the instance returned, developers should change * To change the instance returned, developers should change
* {@link #userDetailsService()} instead * {@link #userDetailsService()} instead
* @return * @return the {@link UserDetailsService}
* @throws Exception * @throws Exception
* @see #userDetailsService() * @see #userDetailsService()
*/ */
@ -308,7 +308,7 @@ public abstract class WebSecurityConfigurerAdapter implements
* {@link ApplicationContext}. Developers should override this method when changing * {@link ApplicationContext}. Developers should override this method when changing
* the instance of {@link #userDetailsServiceBean()}. * the instance of {@link #userDetailsServiceBean()}.
* *
* @return * @return the {@link UserDetailsService} to use
*/ */
protected UserDetailsService userDetailsService() { protected UserDetailsService userDetailsService() {
AuthenticationManagerBuilder globalAuthBuilder = context AuthenticationManagerBuilder globalAuthBuilder = context

View File

@ -181,7 +181,7 @@ public abstract class AbstractAuthenticationFilterConfigurer<B extends HttpSecur
/** /**
* Equivalent of invoking permitAll(true) * Equivalent of invoking permitAll(true)
* @return * @return the {@link FormLoginConfigurer} for additional customization
*/ */
public final T permitAll() { public final T permitAll() {
return permitAll(true); return permitAll(true);
@ -364,7 +364,7 @@ public abstract class AbstractAuthenticationFilterConfigurer<B extends HttpSecur
/** /**
* Gets the URL to send users to if authentication fails * Gets the URL to send users to if authentication fails
* *
* @return * @return the URL to send users if authentication fails (e.g. "/login?error").
*/ */
protected final String getFailureUrl() { protected final String getFailureUrl() {
return failureUrl; return failureUrl;

View File

@ -188,7 +188,7 @@ public final class ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>> e
* Sets the {@link ChannelProcessor} instances to use in * Sets the {@link ChannelProcessor} instances to use in
* {@link ChannelDecisionManagerImpl} * {@link ChannelDecisionManagerImpl}
* @param channelProcessors * @param channelProcessors
* @return * @return the {@link ChannelSecurityConfigurer} for further customizations
*/ */
public ChannelRequestMatcherRegistry channelProcessors( public ChannelRequestMatcherRegistry channelProcessors(
List<ChannelProcessor> channelProcessors) { List<ChannelProcessor> channelProcessors) {
@ -200,7 +200,7 @@ public final class ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>> e
* Return the {@link SecurityBuilder} when done using the * Return the {@link SecurityBuilder} when done using the
* {@link SecurityConfigurer}. This is useful for method chaining. * {@link SecurityConfigurer}. This is useful for method chaining.
* *
* @return * @return the type of {@link HttpSecurityBuilder} that is being configured
*/ */
public H and() { public H and() {
return ChannelSecurityConfigurer.this.and(); return ChannelSecurityConfigurer.this.and();

View File

@ -442,7 +442,7 @@ public class HeadersConfigurer<H extends HttpSecurityBuilder<H>> extends
* application. * application.
* </p> * </p>
* *
* @return * @return the {@link HeadersConfigurer} for additional customization.
*/ */
public HeadersConfigurer<H> sameOrigin() { public HeadersConfigurer<H> sameOrigin() {
writer = new XFrameOptionsHeaderWriter(XFrameOptionsMode.SAMEORIGIN); writer = new XFrameOptionsHeaderWriter(XFrameOptionsMode.SAMEORIGIN);

View File

@ -45,7 +45,7 @@ public final class PortMapperConfigurer<H extends HttpSecurityBuilder<H>> extend
/** /**
* Allows specifying the {@link PortMapper} instance. * Allows specifying the {@link PortMapper} instance.
* @param portMapper * @param portMapper
* @return * @return the {@link PortMapperConfigurer} for further customizations
*/ */
public PortMapperConfigurer<H> portMapper(PortMapper portMapper) { public PortMapperConfigurer<H> portMapper(PortMapper portMapper) {
this.portMapper = portMapper; this.portMapper = portMapper;

View File

@ -99,7 +99,7 @@ public final class UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
* The StandardInterceptUrlRegistry is what users will interact with after applying * The StandardInterceptUrlRegistry is what users will interact with after applying
* the {@link UrlAuthorizationConfigurer}. * the {@link UrlAuthorizationConfigurer}.
* *
* @return * @return the {@link ExpressionUrlAuthorizationConfigurer} for further customizations
*/ */
public StandardInterceptUrlRegistry getRegistry() { public StandardInterceptUrlRegistry getRegistry() {
return REGISTRY; return REGISTRY;
@ -198,7 +198,7 @@ public final class UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
* provided {@link ConfigAttribute} instances * provided {@link ConfigAttribute} instances
* @param configAttributes the {@link ConfigAttribute} instances that should be mapped * @param configAttributes the {@link ConfigAttribute} instances that should be mapped
* by the {@link RequestMatcher} instances * by the {@link RequestMatcher} instances
* @return the {@link UrlAuthorizationConfigurer} for further customizations * @return the {@link ExpressionUrlAuthorizationConfigurer} for further customizations
*/ */
private StandardInterceptUrlRegistry addMapping( private StandardInterceptUrlRegistry addMapping(
Iterable<? extends RequestMatcher> requestMatchers, Iterable<? extends RequestMatcher> requestMatchers,

View File

@ -479,7 +479,7 @@ public final class OpenIDLoginConfigurer<H extends HttpSecurityBuilder<H>> exten
/** /**
* The OpenID attribute type. * The OpenID attribute type.
* @param type * @param type
* @return * @return the {@link AttributeConfigurer} for further customizations
*/ */
public AttributeConfigurer type(String type) { public AttributeConfigurer type(String type) {
this.type = type; this.type = type;

View File

@ -57,7 +57,6 @@ public class ReactiveUserDetailsServiceResourceFactoryBean
* Sets the location of a Resource that is a Properties file in the format defined in {@link UserDetailsResourceFactoryBean}. * Sets the location of a Resource that is a Properties file in the format defined in {@link UserDetailsResourceFactoryBean}.
* *
* @param resourceLocation the location of the properties file that contains the users (i.e. "classpath:users.properties") * @param resourceLocation the location of the properties file that contains the users (i.e. "classpath:users.properties")
* @return the UserDetailsResourceFactoryBean
*/ */
public void setResourceLocation(String resourceLocation) { public void setResourceLocation(String resourceLocation) {
this.userDetails.setResourceLocation(resourceLocation); this.userDetails.setResourceLocation(resourceLocation);

View File

@ -110,7 +110,7 @@ public final class WebSocketMessageBrokerSecurityBeanDefinitionParser implements
/** /**
* @param element * @param element
* @param parserContext * @param parserContext
* @return * @return the {@link BeanDefinition}
*/ */
public BeanDefinition parse(Element element, ParserContext parserContext) { public BeanDefinition parse(Element element, ParserContext parserContext) {
BeanDefinitionRegistry registry = parserContext.getRegistry(); BeanDefinitionRegistry registry = parserContext.getRegistry();

View File

@ -139,7 +139,7 @@ public class SecurityMockServerConfigurers {
} }
/** /**
* Updates the WebServerExchange using {@code {@link SecurityMockServerConfigurers#mockUser(UserDetails)}. Defaults to use a * Updates the WebServerExchange using {@code {@link SecurityMockServerConfigurers#mockUser(UserDetails)}}. Defaults to use a
* password of "password" and granted authorities of "ROLE_USER". * password of "password" and granted authorities of "ROLE_USER".
*/ */
public static class UserExchangeMutator implements WebTestClientConfigurer, MockServerConfigurer { public static class UserExchangeMutator implements WebTestClientConfigurer, MockServerConfigurer {

View File

@ -139,7 +139,7 @@ public final class SecurityMockMvcRequestBuilders {
* Specifies the URL to POST to. Default is "/login" * Specifies the URL to POST to. Default is "/login"
* *
* @param loginProcessingUrl the URL to POST to. Default is "/login" * @param loginProcessingUrl the URL to POST to. Default is "/login"
* @return * @return the {@link FormLoginRequestBuilder} for additional customizations
*/ */
public FormLoginRequestBuilder loginProcessingUrl(String loginProcessingUrl) { public FormLoginRequestBuilder loginProcessingUrl(String loginProcessingUrl) {
this.loginProcessingUrl = loginProcessingUrl; this.loginProcessingUrl = loginProcessingUrl;