org.keycloak.authorization.protection

## Class ProtectionService

- java.lang.Object
- - org.keycloak.authorization.protection.ProtectionService

-     public class ProtectionService
      extends Object

  Author:
    Pedro Igor

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientConnection` | `clientConnection`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProtectionService(AuthorizationProvider authorization)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `permission()`
    `Object` | `policy()`
    `Object` | `resource()`
    `Object` | `ticket()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### clientConnection

          @Context
          protected ClientConnection clientConnection

  - ### Constructor Detail

    - #### ProtectionService

          public ProtectionService(AuthorizationProvider authorization)

  - ### Method Detail

    - #### resource

          @Path(value="/resource_set")
          public Object resource()

    - #### permission

          @Path(value="/permission")
          public Object permission()

    - #### ticket

          @Path(value="/permission/ticket")
          public Object ticket()

    - #### policy

          @Path(value="/uma-policy")
          public Object policy()

Copyright © 2020 JBoss by Red Hat. All rights reserved.