dae4a3eaf2
(cherry picked from commit 79db549c9d561b8d5efe3596370190c4da47e4e1) (cherry picked from commit bf4401cddd5d3b0033820b1cb4904bd1c8b56db9)
24 lines
1.5 KiB
Text
24 lines
1.5 KiB
Text
|
|
echo *** Updating keycloak-server subsystem ***
|
|
echo ** Adding login-protocol spi **
|
|
/subsystem=keycloak-server/spi=login-protocol/:add
|
|
/subsystem=keycloak-server/spi=login-protocol/provider=saml/:add(enabled=true,properties={knownProtocols => "[\"http=${auth.server.http.port}\",\"https=${auth.server.https.port}\"]"})
|
|
|
|
echo ** Adding theme modules **
|
|
/subsystem=keycloak-server/theme=defaults/:write-attribute(name=modules,value=[org.keycloak.testsuite.integration-arquillian-testsuite-providers])
|
|
|
|
echo ** Adding provider **
|
|
/subsystem=keycloak-server/:write-attribute(name=providers, \
|
|
value=[ classpath:${jboss.home.dir}/providers/*, \
|
|
module:org.keycloak.testsuite.integration-arquillian-testsuite-providers \
|
|
] \
|
|
)
|
|
|
|
echo ** Adding max-detail-length to eventsStore spi **
|
|
/subsystem=keycloak-server/spi=eventsStore/provider=jpa/:write-attribute(name=properties.max-detail-length,value=${keycloak.eventsStore.maxDetailLength:1000})
|
|
|
|
echo ** Adding spi=userProfile with legacy-user-profile configuration of read-only attributes **
|
|
/subsystem=keycloak-server/spi=userProfile/:add
|
|
/subsystem=keycloak-server/spi=userProfile/provider=legacy-user-profile/:add(properties={},enabled=true)
|
|
/subsystem=keycloak-server/spi=userProfile/provider=legacy-user-profile/:map-put(name=properties,key=read-only-attributes,value=[deniedFoo,deniedBar*,deniedSome/thing,deniedsome*thing])
|
|
/subsystem=keycloak-server/spi=userProfile/provider=legacy-user-profile/:map-put(name=properties,key=admin-read-only-attributes,value=[deniedSomeAdmin])
|