Search in sources :

Example 1 with ProtectionService

use of org.keycloak.authorization.protection.ProtectionService in project keycloak by keycloak.

the class AuthorizationService method getProtectionService.

@Path("/protection")
public Object getProtectionService() {
    ProtectionService service = new ProtectionService(authorization);
    ResteasyProviderFactory.getInstance().injectProperties(service);
    return service;
}
Also used : ProtectionService(org.keycloak.authorization.protection.ProtectionService) Path(javax.ws.rs.Path)

Aggregations

Path (javax.ws.rs.Path)1 ProtectionService (org.keycloak.authorization.protection.ProtectionService)1