Skip to content

Commit

Permalink
AbstractAuthenticationModuleType.name fix in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kateryna Honchar committed May 19, 2023
1 parent 526e7c3 commit 9e99582
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<httpBasic>
<name>internalBasic</name>
<identifier>internalBasic</identifier>
<description>Internal username/password authentication, using HTTP basic auth</description>
</httpBasic>
</modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<httpBasic>
<name>internalBasic</name>
<identifier>internalBasic</identifier>
<description>Internal username/password authentication, using HTTP basic auth</description>
</httpBasic>
</modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<httpBasic>
<name>internalBasic</name>
<identifier>internalBasic</identifier>
<description>Internal username/password authentication, using HTTP basic auth</description>
</httpBasic>
</modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<oidc>

<name>oidcResourceServer</name>
<identifier>oidcResourceServer</identifier>
<resourceServer>
<issuerUri>https://keycloak.lab.evolveum.com/auth/realms/test</issuerUri>
<nameOfUsernameClaim>preferred_username</nameOfUsernameClaim>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<oidc>
<name>oidcResourceServer</name>
<identifier>oidcResourceServer</identifier>
<resourceServer>
<jwkSetUri>https://keycloak.lab.evolveum.com/auth/realms/test/protocol/openid-connect/certs</jwkSetUri>
<trustedAlgorithm>PS384</trustedAlgorithm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<oidc>
<name>oidcResourceServer</name>
<identifier>oidcResourceServer</identifier>
<resourceServer>
<jwkSetUri>https://keycloak.lab.evolveum.com/auth/realms/test/protocol/openid-connect/certs</jwkSetUri>
<nameOfUsernameClaim>preferred_username</nameOfUsernameClaim>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<oidc>
<name>oidcResourceServer</name>
<identifier>oidcResourceServer</identifier>
<resourceServer>
<trustingAsymmetricCertificate>
<clearValue>MIIClzCCAX8CBgF+TkjEqzANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDDAR0ZXN0MB4XDTIyMDExMjEyMzMxOFoXDTMyMDExMjEyMzQ1OFowDzENMAsGA1UEAwwEdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN0prZaeDeXQycO3X73ZzB+7zVdu+WOu9WfTd9QtJaulXfKbNaWgkYn8MnwMmNXEquTDctPP2F0oZ3jnavPl7AamZaRcN+ZkWnY+jVEG3Xlmv4Psu82Pmy6TltclnXWg2nnHx29+9wlPjF4H3svru6wtXTeNbSUfnowpt3iOM7QKa4g/cBIihkD3dxJ0cUFwqy3scqXCCL6awkER77tfF5n7bPczjQ3E9BJCgsumcbH13Y4PHeq9zUOA/x7HgzyFUFQUWljlQQEASBtkZsKz9PGewSE61yFzCqx3o6+Z+WvM0lEk7vxN0ah3mTpIJdDz6xC5psX2Ef5OsDuy0WnH990CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAJKb00wJeDzXJU+wpaR/B33BTVp4xlXmQmC4Lh8DCW9OCICVn6ngiSQtGuhFRQnHAzjaegGxj+oB6GHHMI1QapuVdJ83ZsUw20spwBxptrqklIGgtB4OsWU3P2QZvwF06zUGjRCA8ZuO64TFsULzB2mYzNFT7KNG1UO4Z8h5g7NuX1a0abHrHK9Yzx6eYNMwS+SCbVwG2ww3zrLXw10Jx3VUdkdPA2R/mkVCS/FEv44UJAwN/bG9E7RNA/AoCVF8qPxx8cx5oE0R5IEIA5vKKoW/iEN3+D2ye66mwpqyFK2zCZsCWocq8IWydq+umPSFsG24tj0NUmznzSULoBJ4KiA==</clearValue>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<oidc>
<name>oidcResourceServer</name>
<identifier>oidcResourceServer</identifier>
<resourceServer>
<trustingAsymmetricCertificate>
<clearValue>MIIClzCCAX8CBgF+TkjEqzANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDDAR0ZXN0MB4XDTIyMDExMjEyMzMxOFoXDTMyMDExMjEyMzQ1OFowDzENMAsGA1UEAwwEdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN0prZaeDeXQycO3X73ZzB+7zVdu+WOu9WfTd9QtJaulXfKbNaWgkYn8MnwMmNXEquTDctPP2F0oZ3jnavPl7AamZaRcN+ZkWnY+jVEG3Xlmv4Psu82Pmy6TltclnXWg2nnHx29+9wlPjF4H3svru6wtXTeNbSUfnowpt3iOM7QKa4g/cBIihkD3dxJ0cUFwqy3scqXCCL6awkER77tfF5n7bPczjQ3E9BJCgsumcbH13Y4PHeq9zUOA/x7HgzyFUFQUWljlQQEASBtkZsKz9PGewSE61yFzCqx3o6+Z+WvM0lEk7vxN0ah3mTpIJdDz6xC5psX2Ef5OsDuy0WnH990CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAJKb00wJeDzXJU+wpaR/B33BTVp4xlXmQmC4Lh8DCW9OCICVn6ngiSQtGuhFRQnHAzjaegGxj+oB6GHHMI1QapuVdJ83ZsUw20spwBxptrqklIGgtB4OsWU3P2QZvwF06zUGjRCA8ZuO64TFsULzB2mYzNFT7KNG1UO4Z8h5g7NuX1a0abHrHK9Yzx6eYNMwS+SCbVwG2ww3zrLXw10Jx3VUdkdPA2R/mkVCS/FEv44UJAwN/bG9E7RNA/AoCVF8qPxx8cx5oE0R5IEIA5vKKoW/iEN3+D2ye66mwpqyFK2zCZsCWocq8IWydq+umPSFsG24tj0NUmznzSULoBJ4KiA==</clearValue>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<oidc>
<name>oidcResourceServer</name>
<identifier>oidcResourceServer</identifier>
<resourceServer>
<trustedAlgorithm>HS384</trustedAlgorithm>
<singleSymmetricKey>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<oidc>
<name>oidcResourceServer</name>
<identifier>oidcResourceServer</identifier>
<resourceServer>
<singleSymmetricKey>
<clearValue>aRpjWIG4mI-SMG6KuEIX5PWT8o-_onPnh8OWoF_3-aMqgYM3ef4JLrHbk0lbQm91L-Mx0YSBFSHqPiAy6WQV9Q</clearValue>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<httpBasic>
<name>internalBasic</name>
<identifier>internalBasic</identifier>
<description>Internal username/password authentication, using HTTP basic auth</description>
</httpBasic>
</modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<httpBasic>
<name>internalBasic</name>
<identifier>internalBasic</identifier>
<description>Internal username/password authentication, using HTTP basic auth</description>
</httpBasic>
<httpSecQ>
<name>httpSecQ</name>
<identifier>httpSecQ</identifier>
<description>
Special "HTTP SecQ" authentication based on security question answers.
It is used for REST service.
Expand Down
6 changes: 3 additions & 3 deletions testing/rest/src/test/resources/repo/security-policy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<authentication>
<modules>
<loginForm>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<description>Internal username/password authentication, default user password, login form</description>
</loginForm>
<httpBasic>
<name>internalBasic</name>
<identifier>internalBasic</identifier>
<description>Internal username/password authentication, using HTTP basic auth</description>
</httpBasic>
<httpSecQ>
<name>httpSecQ</name>
<identifier>httpSecQ</identifier>
<description>
Special "HTTP SecQ" authentication based on security question answers.
It is used for REST service.
Expand Down

0 comments on commit 9e99582

Please sign in to comment.