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 Modifier and Type Field Description protected static Logger
LOG
protected WARestClient
waRestClient
-
Constructor Summary
Constructors Constructor Description WASurrogateAuthenticationService(WARestClient waRestClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canImpersonate(String surrogate, org.apereo.cas.authentication.principal.Principal principal, Optional<org.apereo.cas.authentication.principal.Service> service)
Collection<String>
getImpersonationAccounts(String username)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
waRestClient
protected final WARestClient waRestClient
-
-
Constructor Detail
-
WASurrogateAuthenticationService
public WASurrogateAuthenticationService(WARestClient waRestClient)
-
-
Method Detail
-
canImpersonate
public boolean canImpersonate(String surrogate, org.apereo.cas.authentication.principal.Principal principal, Optional<org.apereo.cas.authentication.principal.Service> service)
- Specified by:
canImpersonate
in interfaceorg.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
-
getImpersonationAccounts
public Collection<String> getImpersonationAccounts(String username)
- Specified by:
getImpersonationAccounts
in interfaceorg.apereo.cas.authentication.surrogate.SurrogateAuthenticationService
-
-