Class WAConsentRepository
java.lang.Object
org.apache.syncope.wa.starter.consent.WAConsentRepository
- All Implemented Interfaces:
Serializable,org.apereo.cas.consent.ConsentRepository
- See Also:
-
Field Summary
FieldsFields inherited from interface org.apereo.cas.consent.ConsentRepository
BEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleandeleteConsentDecision(long id, String principal) booleandeleteConsentDecisions(String principal) org.apereo.cas.consent.ConsentDecisionfindConsentDecision(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication) Collection<? extends org.apereo.cas.consent.ConsentDecision> Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions(String principal) org.apereo.cas.consent.ConsentDecisionstoreConsentDecision(org.apereo.cas.consent.ConsentDecision decision) protected static org.apereo.cas.consent.ConsentDecisiontoConsentDecision(String tenant, WAConsentDecision waConsentDecision) protected static WAConsentDecisiontoWAConsentDecision(org.apereo.cas.consent.ConsentDecision decision)
-
Field Details
-
LOG
-
waRestClient
-
-
Constructor Details
-
WAConsentRepository
-
-
Method Details
-
toWAConsentDecision
protected static WAConsentDecision toWAConsentDecision(org.apereo.cas.consent.ConsentDecision decision) -
toConsentDecision
protected static org.apereo.cas.consent.ConsentDecision toConsentDecision(String tenant, WAConsentDecision waConsentDecision) -
findConsentDecision
public org.apereo.cas.consent.ConsentDecision findConsentDecision(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication) - Specified by:
findConsentDecisionin interfaceorg.apereo.cas.consent.ConsentRepository
-
findConsentDecisions
public Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions(String principal) - Specified by:
findConsentDecisionsin interfaceorg.apereo.cas.consent.ConsentRepository
-
findConsentDecisions
- Specified by:
findConsentDecisionsin interfaceorg.apereo.cas.consent.ConsentRepository
-
storeConsentDecision
public org.apereo.cas.consent.ConsentDecision storeConsentDecision(org.apereo.cas.consent.ConsentDecision decision) throws Throwable - Specified by:
storeConsentDecisionin interfaceorg.apereo.cas.consent.ConsentRepository- Throws:
Throwable
-
deleteConsentDecision
- Specified by:
deleteConsentDecisionin interfaceorg.apereo.cas.consent.ConsentRepository- Throws:
Throwable
-
deleteConsentDecisions
- Specified by:
deleteConsentDecisionsin interfaceorg.apereo.cas.consent.ConsentRepository- Throws:
Throwable
-
deleteAll
- Specified by:
deleteAllin interfaceorg.apereo.cas.consent.ConsentRepository- Throws:
Throwable
-