2018-04-06 13:50:55 +00:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
2019-12-17 23:41:36 +00:00
|
|
|
"autodetect-bearer-only": true,
|
2018-04-06 13:50:55 +00:00
|
|
|
"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']}"
|
|
|
|
}
|
|
|
|
}
|
2019-12-17 23:41:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/protected/filter/body",
|
|
|
|
"claim-information-point": {
|
|
|
|
"claims": {
|
|
|
|
"request-claim": "{request.body}"
|
|
|
|
}
|
|
|
|
}
|
2018-04-06 13:50:55 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|