parent
32128a6ac2
commit
ee6fc8d917
|
@ -206,7 +206,7 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the session timeout
|
* Get the session timeout
|
||||||
* @return the session timeout
|
* @return the session timeout
|
||||||
* @deprecated since 1.3.0 in favor of {@code session.timeout}.
|
* @deprecated since 1.3.0 in favor of {@code session.timeout}.
|
||||||
*/
|
*/
|
||||||
|
@ -217,7 +217,7 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the session timeout
|
* Set the session timeout
|
||||||
* @param sessionTimeout the session timeout
|
* @param sessionTimeout the session timeout
|
||||||
* @deprecated since 1.3.0 in favor of {@code session.timeout}.
|
* @deprecated since 1.3.0 in favor of {@code session.timeout}.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class HttpTunnelPayloadForwarderTests {
|
||||||
public ExpectedException thrown = ExpectedException.none();
|
public ExpectedException thrown = ExpectedException.none();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void targetChannelMustNoBeNull() throws Exception {
|
public void targetChannelMustNotBeNull() throws Exception {
|
||||||
this.thrown.expect(IllegalArgumentException.class);
|
this.thrown.expect(IllegalArgumentException.class);
|
||||||
this.thrown.expectMessage("TargetChannel must not be null");
|
this.thrown.expectMessage("TargetChannel must not be null");
|
||||||
new HttpTunnelPayloadForwarder(null);
|
new HttpTunnelPayloadForwarder(null);
|
||||||
|
|
|
@ -499,7 +499,7 @@ on the classpath. This provider supports these parameters:
|
||||||
|
|
||||||
The following types can be used:
|
The following types can be used:
|
||||||
|
|
||||||
* Any `java.lang.Enum` that list the possible values for the property (By all means, try to
|
* Any `java.lang.Enum` that lists the possible values for the property (By all means, try to
|
||||||
define the property with the `Enum` type instead as no further hint should be required for
|
define the property with the `Enum` type instead as no further hint should be required for
|
||||||
the IDE to auto-complete the values).
|
the IDE to auto-complete the values).
|
||||||
* `java.nio.charset.Charset`: auto-completion of charset/encoding values (e.g. `UTF-8`)
|
* `java.nio.charset.Charset`: auto-completion of charset/encoding values (e.g. `UTF-8`)
|
||||||
|
|
|
@ -1880,7 +1880,7 @@ provider for more flexibility).
|
||||||
|
|
||||||
To limit the scope that the client asks for when it obtains an access token you can set
|
To limit the scope that the client asks for when it obtains an access token you can set
|
||||||
`security.oauth2.client.scope` (comma separated or an array in YAML). By default the scope
|
`security.oauth2.client.scope` (comma separated or an array in YAML). By default the scope
|
||||||
is empty and it is up to to Authorization Server to decide what the defaults should be,
|
is empty and it is up to Authorization Server to decide what the defaults should be,
|
||||||
usually depending on the settings in the client registration that it holds.
|
usually depending on the settings in the client registration that it holds.
|
||||||
|
|
||||||
NOTE: There is also a setting for `security.oauth2.client.client-authentication-scheme`
|
NOTE: There is also a setting for `security.oauth2.client.client-authentication-scheme`
|
||||||
|
|
|
@ -20,7 +20,7 @@ import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides access to the arguments that were used run a {@link SpringApplication}.
|
* Provides access to the arguments that were used to run a {@link SpringApplication}.
|
||||||
*
|
*
|
||||||
* @author Phillip Webb
|
* @author Phillip Webb
|
||||||
* @since 1.3.0
|
* @since 1.3.0
|
||||||
|
@ -44,7 +44,7 @@ public interface ApplicationArguments {
|
||||||
* Return whether the set of option arguments parsed from the arguments contains an
|
* Return whether the set of option arguments parsed from the arguments contains an
|
||||||
* option with the given name.
|
* option with the given name.
|
||||||
* @param name the name to check
|
* @param name the name to check
|
||||||
* @return {@code true} if the arguments contains an option with the given name
|
* @return {@code true} if the arguments contain an option with the given name
|
||||||
*/
|
*/
|
||||||
boolean containsOption(String name);
|
boolean containsOption(String name);
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ import org.springframework.core.annotation.Order;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface used to indicate that a bean should <em>run</em> when it is contained within
|
* Interface used to indicate that a bean should <em>run</em> when it is contained within
|
||||||
* a {@link SpringApplication}. Multiple {@link ApplicationArguments} beans can be defined
|
* a {@link SpringApplication}. Multiple {@link ApplicationRunner} beans can be defined
|
||||||
* within the same application context and can be ordered using the {@link Ordered}
|
* within the same application context and can be ordered using the {@link Ordered}
|
||||||
* interface or {@link Order @Order} annotation.
|
* interface or {@link Order @Order} annotation.
|
||||||
*
|
*
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class DefaultApplicationArgumentsTests {
|
||||||
public ExpectedException thrown = ExpectedException.none();
|
public ExpectedException thrown = ExpectedException.none();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void argumentsMustNoBeNull() throws Exception {
|
public void argumentsMustNotBeNull() throws Exception {
|
||||||
this.thrown.expect(IllegalArgumentException.class);
|
this.thrown.expect(IllegalArgumentException.class);
|
||||||
this.thrown.expectMessage("Args must not be null");
|
this.thrown.expectMessage("Args must not be null");
|
||||||
new DefaultApplicationArguments(null);
|
new DefaultApplicationArguments(null);
|
||||||
|
|
Loading…
Reference in New Issue