-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Project] Updated PrivilegeConfig.xml with default values
- Loading branch information
Showing
20 changed files
with
89 additions
and
469 deletions.
There are no files selected for viewing
27 changes: 4 additions & 23 deletions
27
agent/src/test/resources/emptytest/config/PrivilegeConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Privilege> | ||
|
||
<Container> | ||
|
||
<Parameters> | ||
<!-- parameters for the container itself --> | ||
<Parameter name="secretKey" value="58d27145-5d1a-48ea-9e1c-f5a522f6a19f"/> | ||
<Parameter name="secretSalt" value="25bd8911-0008-464f-82b8-4c5200db8dd7"/> | ||
<Parameter name="secretKey" value="CHANGE-ME"/> | ||
<Parameter name="secretSalt" value="CHANGE-ME"/> | ||
<Parameter name="autoPersistOnUserChangesData" value="true" /> | ||
</Parameters> | ||
|
||
<EncryptionHandler class="li.strolch.privilege.handler.DefaultEncryptionHandler"> | ||
<Parameters> | ||
<!-- WARNING: If you change iterations or keyLength, then all passwords are invalid --> | ||
<!-- default algorithm is: PBKDF2WithHmacSHA512 --> | ||
<Parameter name="hashAlgorithm" value="PBKDF2WithHmacSHA512" /> | ||
<!-- default iterations: 200000 --> | ||
<Parameter name="hashIterations" value="10000" /> | ||
<!-- default key length: 256 --> | ||
<Parameter name="hashKeyLength" value="256" /> | ||
</Parameters> | ||
</EncryptionHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"> | ||
<Parameters> | ||
<Parameter name="usersXmlFile" value="PrivilegeUsers.xml" /> | ||
<Parameter name="rolesXmlFile" value="PrivilegeRoles.xml" /> | ||
</Parameters> | ||
</PersistenceHandler> | ||
|
||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"> | ||
</UserChallengeHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"/> | ||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"/> | ||
</Container> | ||
|
||
<Policies> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege" /> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege" /> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege" /> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege" /> | ||
<Policy name="UserSessionAccessPrivilege" class="li.strolch.privilege.policy.UsernameFromCertificatePrivilege"/> | ||
</Policies> | ||
|
||
</Privilege> |
27 changes: 4 additions & 23 deletions
27
agent/src/test/resources/minimaltest/config/PrivilegeConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Privilege> | ||
|
||
<Container> | ||
|
||
<Parameters> | ||
<!-- parameters for the container itself --> | ||
<Parameter name="secretKey" value="58d27145-5d1a-48ea-9e1c-f5a522f6a19f"/> | ||
<Parameter name="secretSalt" value="25bd8911-0008-464f-82b8-4c5200db8dd7"/> | ||
<Parameter name="secretKey" value="CHANGE-ME"/> | ||
<Parameter name="secretSalt" value="CHANGE-ME"/> | ||
<Parameter name="autoPersistOnUserChangesData" value="true" /> | ||
</Parameters> | ||
|
||
<EncryptionHandler class="li.strolch.privilege.handler.DefaultEncryptionHandler"> | ||
<Parameters> | ||
<!-- WARNING: If you change iterations or keyLength, then all passwords are invalid --> | ||
<!-- default algorithm is: PBKDF2WithHmacSHA512 --> | ||
<Parameter name="hashAlgorithm" value="PBKDF2WithHmacSHA512" /> | ||
<!-- default iterations: 200000 --> | ||
<Parameter name="hashIterations" value="10000" /> | ||
<!-- default key length: 256 --> | ||
<Parameter name="hashKeyLength" value="256" /> | ||
</Parameters> | ||
</EncryptionHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"> | ||
<Parameters> | ||
<Parameter name="usersXmlFile" value="PrivilegeUsers.xml" /> | ||
<Parameter name="rolesXmlFile" value="PrivilegeRoles.xml" /> | ||
</Parameters> | ||
</PersistenceHandler> | ||
|
||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"> | ||
</UserChallengeHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"/> | ||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"/> | ||
</Container> | ||
|
||
<Policies> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege" /> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege" /> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege" /> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege" /> | ||
<Policy name="UserSessionAccessPrivilege" class="li.strolch.privilege.policy.UsernameFromCertificatePrivilege"/> | ||
</Policies> | ||
|
||
</Privilege> |
27 changes: 4 additions & 23 deletions
27
agent/src/test/resources/realmtest/config/PrivilegeConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Privilege> | ||
|
||
<Container> | ||
|
||
<Parameters> | ||
<!-- parameters for the container itself --> | ||
<Parameter name="secretKey" value="58d27145-5d1a-48ea-9e1c-f5a522f6a19f"/> | ||
<Parameter name="secretSalt" value="25bd8911-0008-464f-82b8-4c5200db8dd7"/> | ||
<Parameter name="secretKey" value="CHANGE-ME"/> | ||
<Parameter name="secretSalt" value="CHANGE-ME"/> | ||
<Parameter name="autoPersistOnUserChangesData" value="true" /> | ||
</Parameters> | ||
|
||
<EncryptionHandler class="li.strolch.privilege.handler.DefaultEncryptionHandler"> | ||
<Parameters> | ||
<!-- WARNING: If you change iterations or keyLength, then all passwords are invalid --> | ||
<!-- default algorithm is: PBKDF2WithHmacSHA512 --> | ||
<Parameter name="hashAlgorithm" value="PBKDF2WithHmacSHA512" /> | ||
<!-- default iterations: 200000 --> | ||
<Parameter name="hashIterations" value="10000" /> | ||
<!-- default key length: 256 --> | ||
<Parameter name="hashKeyLength" value="256" /> | ||
</Parameters> | ||
</EncryptionHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"> | ||
<Parameters> | ||
<Parameter name="usersXmlFile" value="PrivilegeUsers.xml" /> | ||
<Parameter name="rolesXmlFile" value="PrivilegeRoles.xml" /> | ||
</Parameters> | ||
</PersistenceHandler> | ||
|
||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"> | ||
</UserChallengeHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"/> | ||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"/> | ||
</Container> | ||
|
||
<Policies> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege" /> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege" /> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege" /> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege" /> | ||
<Policy name="UserSessionAccessPrivilege" class="li.strolch.privilege.policy.UsernameFromCertificatePrivilege"/> | ||
</Policies> | ||
|
||
</Privilege> |
27 changes: 4 additions & 23 deletions
27
agent/src/test/resources/transienttest/config/PrivilegeConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Privilege> | ||
|
||
<Container> | ||
|
||
<Parameters> | ||
<!-- parameters for the container itself --> | ||
<Parameter name="secretKey" value="58d27145-5d1a-48ea-9e1c-f5a522f6a19f"/> | ||
<Parameter name="secretSalt" value="25bd8911-0008-464f-82b8-4c5200db8dd7"/> | ||
<Parameter name="secretKey" value="CHANGE-ME"/> | ||
<Parameter name="secretSalt" value="CHANGE-ME"/> | ||
<Parameter name="autoPersistOnUserChangesData" value="true" /> | ||
</Parameters> | ||
|
||
<EncryptionHandler class="li.strolch.privilege.handler.DefaultEncryptionHandler"> | ||
<Parameters> | ||
<!-- WARNING: If you change iterations or keyLength, then all passwords are invalid --> | ||
<!-- default algorithm is: PBKDF2WithHmacSHA512 --> | ||
<Parameter name="hashAlgorithm" value="PBKDF2WithHmacSHA512" /> | ||
<!-- default iterations: 200000 --> | ||
<Parameter name="hashIterations" value="10000" /> | ||
<!-- default key length: 256 --> | ||
<Parameter name="hashKeyLength" value="256" /> | ||
</Parameters> | ||
</EncryptionHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"> | ||
<Parameters> | ||
<Parameter name="usersXmlFile" value="PrivilegeUsers.xml" /> | ||
<Parameter name="rolesXmlFile" value="PrivilegeRoles.xml" /> | ||
</Parameters> | ||
</PersistenceHandler> | ||
|
||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"> | ||
</UserChallengeHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"/> | ||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"/> | ||
</Container> | ||
|
||
<Policies> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege" /> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege" /> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege" /> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege" /> | ||
<Policy name="UserSessionAccessPrivilege" class="li.strolch.privilege.policy.UsernameFromCertificatePrivilege"/> | ||
</Policies> | ||
|
||
</Privilege> |
27 changes: 4 additions & 23 deletions
27
agent/src/test/resources/versioningtest/config/PrivilegeConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Privilege> | ||
|
||
<Container> | ||
|
||
<Parameters> | ||
<!-- parameters for the container itself --> | ||
<Parameter name="secretKey" value="58d27145-5d1a-48ea-9e1c-f5a522f6a19f"/> | ||
<Parameter name="secretSalt" value="25bd8911-0008-464f-82b8-4c5200db8dd7"/> | ||
<Parameter name="secretKey" value="CHANGE-ME"/> | ||
<Parameter name="secretSalt" value="CHANGE-ME"/> | ||
<Parameter name="autoPersistOnUserChangesData" value="true" /> | ||
</Parameters> | ||
|
||
<EncryptionHandler class="li.strolch.privilege.handler.DefaultEncryptionHandler"> | ||
<Parameters> | ||
<!-- WARNING: If you change iterations or keyLength, then all passwords are invalid --> | ||
<!-- default algorithm is: PBKDF2WithHmacSHA512 --> | ||
<Parameter name="hashAlgorithm" value="PBKDF2WithHmacSHA512" /> | ||
<!-- default iterations: 200000 --> | ||
<Parameter name="hashIterations" value="10000" /> | ||
<!-- default key length: 256 --> | ||
<Parameter name="hashKeyLength" value="256" /> | ||
</Parameters> | ||
</EncryptionHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"> | ||
<Parameters> | ||
<Parameter name="usersXmlFile" value="PrivilegeUsers.xml" /> | ||
<Parameter name="rolesXmlFile" value="PrivilegeRoles.xml" /> | ||
</Parameters> | ||
</PersistenceHandler> | ||
|
||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"> | ||
</UserChallengeHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"/> | ||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"/> | ||
</Container> | ||
|
||
<Policies> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege" /> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege" /> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege" /> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege" /> | ||
<Policy name="UserSessionAccessPrivilege" class="li.strolch.privilege.policy.UsernameFromCertificatePrivilege"/> | ||
</Policies> | ||
|
||
</Privilege> |
35 changes: 8 additions & 27 deletions
35
persistence-postgresql/src/test/resources/cachedJsonRuntime/config/PrivilegeConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Privilege> | ||
|
||
<Container> | ||
|
||
<Parameters> | ||
<!-- parameters for the container itself --> | ||
<Parameter name="secretKey" value="58d27145-5d1a-48ea-9e1c-f5a522f6a19f"/> | ||
<Parameter name="secretSalt" value="25bd8911-0008-464f-82b8-4c5200db8dd7"/> | ||
<Parameter name="secretKey" value="CHANGE-ME"/> | ||
<Parameter name="secretSalt" value="CHANGE-ME"/> | ||
<Parameter name="autoPersistOnUserChangesData" value="true" /> | ||
</Parameters> | ||
|
||
<EncryptionHandler class="li.strolch.privilege.handler.DefaultEncryptionHandler"> | ||
<Parameters> | ||
<!-- WARNING: If you change iterations or keyLength, then all passwords are invalid --> | ||
<!-- default algorithm is: PBKDF2WithHmacSHA512 --> | ||
<Parameter name="hashAlgorithm" value="PBKDF2WithHmacSHA512" /> | ||
<!-- default iterations: 200000 --> | ||
<Parameter name="hashIterations" value="10000" /> | ||
<!-- default key length: 256 --> | ||
<Parameter name="hashKeyLength" value="256" /> | ||
</Parameters> | ||
</EncryptionHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"> | ||
<Parameters> | ||
<Parameter name="usersXmlFile" value="PrivilegeUsers.xml" /> | ||
<Parameter name="rolesXmlFile" value="PrivilegeRoles.xml" /> | ||
</Parameters> | ||
</PersistenceHandler> | ||
|
||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"> | ||
</UserChallengeHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"/> | ||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"/> | ||
</Container> | ||
|
||
<Policies> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege"/> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege"/> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege"/> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege"/> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege" /> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege" /> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege" /> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege" /> | ||
<Policy name="UserSessionAccessPrivilege" class="li.strolch.privilege.policy.UsernameFromCertificatePrivilege"/> | ||
</Policies> | ||
|
||
</Privilege> |
27 changes: 4 additions & 23 deletions
27
...ence-postgresql/src/test/resources/cachedJsonRuntimeVersioning/config/PrivilegeConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Privilege> | ||
|
||
<Container> | ||
|
||
<Parameters> | ||
<!-- parameters for the container itself --> | ||
<Parameter name="secretKey" value="58d27145-5d1a-48ea-9e1c-f5a522f6a19f"/> | ||
<Parameter name="secretSalt" value="25bd8911-0008-464f-82b8-4c5200db8dd7"/> | ||
<Parameter name="secretKey" value="CHANGE-ME"/> | ||
<Parameter name="secretSalt" value="CHANGE-ME"/> | ||
<Parameter name="autoPersistOnUserChangesData" value="true" /> | ||
</Parameters> | ||
|
||
<EncryptionHandler class="li.strolch.privilege.handler.DefaultEncryptionHandler"> | ||
<Parameters> | ||
<!-- WARNING: If you change iterations or keyLength, then all passwords are invalid --> | ||
<!-- default algorithm is: PBKDF2WithHmacSHA512 --> | ||
<Parameter name="hashAlgorithm" value="PBKDF2WithHmacSHA512" /> | ||
<!-- default iterations: 200000 --> | ||
<Parameter name="hashIterations" value="10000" /> | ||
<!-- default key length: 256 --> | ||
<Parameter name="hashKeyLength" value="256" /> | ||
</Parameters> | ||
</EncryptionHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"> | ||
<Parameters> | ||
<Parameter name="usersXmlFile" value="PrivilegeUsers.xml" /> | ||
<Parameter name="rolesXmlFile" value="PrivilegeRoles.xml" /> | ||
</Parameters> | ||
</PersistenceHandler> | ||
|
||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"> | ||
</UserChallengeHandler> | ||
|
||
<PersistenceHandler class="li.strolch.privilege.handler.XmlPersistenceHandler"/> | ||
<UserChallengeHandler class="li.strolch.privilege.handler.ConsoleUserChallengeHandler"/> | ||
</Container> | ||
|
||
<Policies> | ||
<Policy name="DefaultPrivilege" class="li.strolch.privilege.policy.DefaultPrivilege" /> | ||
<Policy name="ModelPrivilege" class="li.strolch.runtime.privilege.ModelPrivilege" /> | ||
<Policy name="RoleAccessPrivilege" class="li.strolch.privilege.policy.RoleAccessPrivilege" /> | ||
<Policy name="UserAccessPrivilege" class="li.strolch.privilege.policy.UserAccessPrivilege" /> | ||
<Policy name="UserSessionAccessPrivilege" class="li.strolch.privilege.policy.UsernameFromCertificatePrivilege"/> | ||
</Policies> | ||
|
||
</Privilege> |
Oops, something went wrong.