Skip to content

Fix schema documentation for anonymous and remember-me element. #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ remember-me =
## Sets up remember-me authentication. If used with the "key" attribute (or no attributes) the cookie-only implementation will be used. Specifying "token-repository-ref" or "remember-me-data-source-ref" will use the more secure, persisten token approach.
element remember-me {remember-me.attlist}
remember-me.attlist &=
## The "key" used to identify cookies from a specific token-based remember-me application. You should set this to a unique value for your application.
## The "key" used to identify cookies from a specific token-based remember-me application. You should set this to a unique value for your application. If unset, it will default to a random value generated by SecureRandom.
attribute key {xsd:token}?

remember-me.attlist &=
Expand Down Expand Up @@ -593,7 +593,7 @@ anonymous =
## Adds support for automatically granting all anonymous web requests a particular principal identity and a corresponding granted authority.
element anonymous {anonymous.attlist}
anonymous.attlist &=
## The key shared between the provider and filter. This generally does not need to be set. If unset, it will default to "doesNotMatter".
## The key shared between the provider and filter. This generally does not need to be set. If unset, it will default to a random value generated by SecureRandom.
attribute key {xsd:token}?
anonymous.attlist &=
## The username that should be assigned to the anonymous request. This allows the principal to be identified, which may be important for logging and auditing. if unset, defaults to "anonymousUser".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,8 @@
<xs:attribute name="key" type="xs:token">
<xs:annotation>
<xs:documentation>The "key" used to identify cookies from a specific token-based remember-me application.
You should set this to a unique value for your application.
You should set this to a unique value for your application. If unset, it will default to a
random value generated by SecureRandom.
</xs:documentation>
</xs:annotation>
</xs:attribute>
Expand Down Expand Up @@ -1831,7 +1832,7 @@
<xs:attribute name="key" type="xs:token">
<xs:annotation>
<xs:documentation>The key shared between the provider and filter. This generally does not need to be set. If
unset, it will default to "doesNotMatter".
unset, it will default to a random value generated by SecureRandom.
</xs:documentation>
</xs:annotation>
</xs:attribute>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ remember-me =
## Sets up remember-me authentication. If used with the "key" attribute (or no attributes) the cookie-only implementation will be used. Specifying "token-repository-ref" or "remember-me-data-source-ref" will use the more secure, persisten token approach.
element remember-me {remember-me.attlist}
remember-me.attlist &=
## The "key" used to identify cookies from a specific token-based remember-me application. You should set this to a unique value for your application.
## The "key" used to identify cookies from a specific token-based remember-me application. You should set this to a unique value for your application. If unset, it will default to a random value generated by SecureRandom.
attribute key {xsd:token}?

remember-me.attlist &=
Expand Down Expand Up @@ -593,7 +593,7 @@ anonymous =
## Adds support for automatically granting all anonymous web requests a particular principal identity and a corresponding granted authority.
element anonymous {anonymous.attlist}
anonymous.attlist &=
## The key shared between the provider and filter. This generally does not need to be set. If unset, it will default to "doesNotMatter".
## The key shared between the provider and filter. This generally does not need to be set. If unset, it will default to a random value generated by SecureRandom.
attribute key {xsd:token}?
anonymous.attlist &=
## The username that should be assigned to the anonymous request. This allows the principal to be identified, which may be important for logging and auditing. if unset, defaults to "anonymousUser".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,8 @@
<xs:attribute name="key" type="xs:token">
<xs:annotation>
<xs:documentation>The "key" used to identify cookies from a specific token-based remember-me application.
You should set this to a unique value for your application.
You should set this to a unique value for your application. If unset, it will default to a
random value generated by SecureRandom.
</xs:documentation>
</xs:annotation>
</xs:attribute>
Expand Down Expand Up @@ -1831,7 +1832,7 @@
<xs:attribute name="key" type="xs:token">
<xs:annotation>
<xs:documentation>The key shared between the provider and filter. This generally does not need to be set. If
unset, it will default to "doesNotMatter".
unset, it will default to a random value generated by SecureRandom.
</xs:documentation>
</xs:annotation>
</xs:attribute>
Expand Down