Class WASurrogateAuthenticationService
java.lang.Object
org.apache.syncope.wa.starter.surrogate.WASurrogateAuthenticationService
- All Implemented Interfaces:
org.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
public class WASurrogateAuthenticationService
extends Object
implements org.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
AUTHENTICATION_ATTR_SURROGATE_ENABLED, AUTHENTICATION_ATTR_SURROGATE_PRINCIPAL, AUTHENTICATION_ATTR_SURROGATE_USER, BEAN_NAME, WILDCARD_ACCOUNT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canImpersonate
(String surrogate, org.apereo.cas.authentication.principal.Principal principal, Optional<? extends org.apereo.cas.authentication.principal.Service> service) getImpersonationAccounts
(String username, Optional<? extends org.apereo.cas.authentication.principal.Service> service) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
isWildcardedAccount, isWildcardedAccount
-
Field Details
-
LOG
-
waRestClient
-
-
Constructor Details
-
WASurrogateAuthenticationService
-
-
Method Details
-
canImpersonate
public boolean canImpersonate(String surrogate, org.apereo.cas.authentication.principal.Principal principal, Optional<? extends org.apereo.cas.authentication.principal.Service> service) - Specified by:
canImpersonate
in interfaceorg.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
-
getImpersonationAccounts
public Collection<String> getImpersonationAccounts(String username, Optional<? extends org.apereo.cas.authentication.principal.Service> service) - Specified by:
getImpersonationAccounts
in interfaceorg.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
-