-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding another method to get the complete PDP Resource List
- Loading branch information
1 parent
93761b1
commit 2f015e6
Showing
3 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
sdk/src/main/java/org/wso2/spring/security/abac/AttributeHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
package org.wso2.spring.security.abac; | ||
|
||
import org.json.JSONObject; | ||
|
||
import java.util.Optional; | ||
|
||
/** | ||
* @author Randika Navagamuwa | ||
*/ | ||
public interface AttributeHandler { | ||
|
||
boolean authorize(String policyRequest); | ||
|
||
Optional<JSONObject> getApiResourceList(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters