%@page import="org.keycloak.AuthorizationContext" %> <%@ page import="org.keycloak.KeycloakSecurityContext" %> <%@ page import="org.keycloak.representations.idm.authorization.Permission" %> <% KeycloakSecurityContext keycloakSecurityContext = (KeycloakSecurityContext) request.getAttribute(KeycloakSecurityContext.class.getName()); AuthorizationContext authzContext = keycloakSecurityContext.getAuthorizationContext(); %>
<%@include file="logout-include.jsp"%>Resource: <%= permission.getResourceSetName() %>
ID: <%= permission.getResourceSetId() %>
Scopes: <%= permission.getScopes() %>