Package org.apereo.cas.services
Class OpenFGARegisteredServiceAccessStrategy
java.lang.Object
org.apereo.cas.services.BaseRegisteredServiceAccessStrategy
org.apereo.cas.services.OpenFGARegisteredServiceAccessStrategy
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAccessStrategy
,org.springframework.core.Ordered
This is
OpenFGARegisteredServiceAccessStrategy
that reaches out
to OpenFGA to check for user access.- Since:
- 7.0.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authorizeRequest
(org.apereo.cas.services.RegisteredServiceAccessStrategyRequest request) boolean
getToken()
int
hashCode()
setRelation
(String relation) setStoreId
(String storeId) toString()
Methods inherited from class org.apereo.cas.services.BaseRegisteredServiceAccessStrategy
getDelegatedAuthenticationPolicy, setDelegatedAuthenticationPolicy
Methods inherited from interface org.apereo.cas.services.RegisteredServiceAccessStrategy
getOrder, getRequiredAttributes, getUnauthorizedRedirectUrl, isServiceAccessAllowed, isServiceAccessAllowedForSso
-
Constructor Details
-
OpenFGARegisteredServiceAccessStrategy
public OpenFGARegisteredServiceAccessStrategy()
-
-
Method Details
-
authorizeRequest
public boolean authorizeRequest(org.apereo.cas.services.RegisteredServiceAccessStrategyRequest request) -
toString
- Overrides:
toString
in classBaseRegisteredServiceAccessStrategy
-
getRelation
-
getObject
-
getApiUrl
-
getStoreId
-
getToken
-
setRelation
- Returns:
this
.
-
setObject
- Returns:
this
.
-
setApiUrl
- Returns:
this
.
-
setStoreId
- Returns:
this
.
-
setToken
- Returns:
this
.
-
equals
- Overrides:
equals
in classBaseRegisteredServiceAccessStrategy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseRegisteredServiceAccessStrategy
-