Skip to content
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

Allow minimum session-id-length of 16 bytes - which is the minimum OW… #8096

Merged
merged 1 commit into from Sep 11, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -109,13 +109,13 @@ class ServletContainerDefinition extends PersistentResourceDefinition {
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.setAllowExpression(true)
.setDefaultValue(new ModelNode(true))
.build(); //30 minutes
.build();

protected static final AttributeDefinition DIRECTORY_LISTING =
new SimpleAttributeDefinitionBuilder(Constants.DIRECTORY_LISTING, ModelType.BOOLEAN, true)
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.setAllowExpression(true)
.build(); //30 minutes
.build();

protected static final AttributeDefinition PROACTIVE_AUTHENTICATION =
new SimpleAttributeDefinitionBuilder(Constants.PROACTIVE_AUTHENTICATION, ModelType.BOOLEAN, true)
Expand All @@ -128,9 +128,9 @@ class ServletContainerDefinition extends PersistentResourceDefinition {
new SimpleAttributeDefinitionBuilder(Constants.SESSION_ID_LENGTH, ModelType.INT, true)
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.setAllowExpression(true)
.setValidator(new IntRangeValidator(20, 200, true, true))
.setValidator(new IntRangeValidator(16, 200, true, true))
.setDefaultValue(new ModelNode(30))
.build(); //30 minutes
.build();

private static final List<? extends PersistentResourceDefinition> CHILDREN;
static final Collection<AttributeDefinition> ATTRIBUTES = Arrays.asList(
Expand Down