add log message
This commit is contained in:
parent
aaa8cdd631
commit
14efce90a4
|
@ -178,6 +178,7 @@ public class ServiceEndpointResource {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isRoleEnabled(){
|
private boolean isRoleEnabled(){
|
||||||
|
log.debug("checking role");
|
||||||
String at= AccessTokenProvider.instance.get();
|
String at= AccessTokenProvider.instance.get();
|
||||||
try{
|
try{
|
||||||
if (ModelUtils.getAccessTokenFrom(at).getRealmAccess().getRoles().contains("service-endpoint-key" )) {
|
if (ModelUtils.getAccessTokenFrom(at).getRealmAccess().getRoles().contains("service-endpoint-key" )) {
|
||||||
|
|
Loading…
Reference in New Issue