mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Polish
This commit is contained in:
parent
94fb1893de
commit
f94399cff9
@ -547,7 +547,7 @@ concurrency-control =
|
|||||||
element concurrency-control {concurrency-control.attlist, empty}
|
element concurrency-control {concurrency-control.attlist, empty}
|
||||||
|
|
||||||
concurrency-control.attlist &=
|
concurrency-control.attlist &=
|
||||||
## The maximum number of sessions a single authenticated user can have open at the same time. Defaults to "1". A negative value denotes unlimitted sessions.
|
## The maximum number of sessions a single authenticated user can have open at the same time. Defaults to "1". A negative value denotes unlimited sessions.
|
||||||
attribute max-sessions {xsd:integer}?
|
attribute max-sessions {xsd:integer}?
|
||||||
concurrency-control.attlist &=
|
concurrency-control.attlist &=
|
||||||
## The URL a user will be redirected to if they attempt to use a session which has been "expired" because they have logged in again.
|
## The URL a user will be redirected to if they attempt to use a session which has been "expired" because they have logged in again.
|
||||||
|
@ -1772,7 +1772,7 @@
|
|||||||
<xs:attribute name="max-sessions" type="xs:integer">
|
<xs:attribute name="max-sessions" type="xs:integer">
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
<xs:documentation>The maximum number of sessions a single authenticated user can have open at the same time.
|
<xs:documentation>The maximum number of sessions a single authenticated user can have open at the same time.
|
||||||
Defaults to "1". A negative value denotes unlimitted sessions.
|
Defaults to "1". A negative value denotes unlimited sessions.
|
||||||
</xs:documentation>
|
</xs:documentation>
|
||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
</xs:attribute>
|
</xs:attribute>
|
||||||
@ -2822,4 +2822,4 @@
|
|||||||
<xs:enumeration value="LAST"/>
|
<xs:enumeration value="LAST"/>
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
</xs:schema>
|
</xs:schema>
|
||||||
|
@ -7020,7 +7020,7 @@ import org.springframework.security.core.annotation.AuthenticationPrincipal;
|
|||||||
// ...
|
// ...
|
||||||
|
|
||||||
@PutMapping("/users/self")
|
@PutMapping("/users/self")
|
||||||
public ModelAndView updateName(@AuthenticationPrincipal(expression = "@jpaEntityManager.merge(#this)") CustomUser attachedCustomUser
|
public ModelAndView updateName(@AuthenticationPrincipal(expression = "@jpaEntityManager.merge(#this)") CustomUser attachedCustomUser,
|
||||||
@RequestParam String firstName) {
|
@RequestParam String firstName) {
|
||||||
|
|
||||||
// change the firstName on an attached instance which will be persisted to the database
|
// change the firstName on an attached instance which will be persisted to the database
|
||||||
|
@ -50,7 +50,7 @@ import org.springframework.util.Assert;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides lifecycle services for the embedded apacheDS server defined by the supplied
|
* Provides lifecycle services for the embedded apacheDS server defined by the supplied
|
||||||
* configuration. Used by {code LdapServerBeanDefinitionParser}. An instance will be
|
* configuration. Used by {@code LdapServerBeanDefinitionParser}. An instance will be
|
||||||
* stored in the application context for each embedded server instance. It will start the
|
* stored in the application context for each embedded server instance. It will start the
|
||||||
* server when the context is initialized and shut it down when it is closed. It is
|
* server when the context is initialized and shut it down when it is closed. It is
|
||||||
* intended for temporary embedded use and will not retain changes across start/stop
|
* intended for temporary embedded use and will not retain changes across start/stop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user