34 lines
No EOL
1 KiB
JSON
34 lines
No EOL
1 KiB
JSON
{
|
|
"realm": "servlet-authz",
|
|
"realm-public-key" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQAB",
|
|
"auth-server-url" : "http://localhost:8180/auth",
|
|
"ssl-required" : "external",
|
|
"resource" : "servlet-authz-app",
|
|
"public-client" : false,
|
|
"credentials": {
|
|
"secret": "secret"
|
|
},
|
|
"autodetect-bearer-only": true,
|
|
"policy-enforcer": {
|
|
"on-deny-redirect-to" : "/servlet-authz-app/accessDenied.jsp",
|
|
"lazy-load-paths": true,
|
|
"paths": [
|
|
{
|
|
"path": "/protected/context/context.jsp",
|
|
"claim-information-point": {
|
|
"claims": {
|
|
"request-claim": "{request.parameter['request-claim']}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/protected/filter/body",
|
|
"claim-information-point": {
|
|
"claims": {
|
|
"request-claim": "{request.body}"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |