1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.wa.starter.mapping;
20
21 import java.util.List;
22 import org.apache.syncope.common.lib.policy.AuthPolicyConf;
23 import org.apache.syncope.common.lib.policy.AuthPolicyTO;
24 import org.apache.syncope.common.lib.to.AuthModuleTO;
25 import org.apereo.cas.authentication.AuthenticationEventExecutionPlan;
26 import org.apereo.cas.authentication.MultifactorAuthenticationProvider;
27 import org.springframework.beans.factory.ObjectProvider;
28
29 public interface AuthMapper {
30
31 boolean supports(AuthPolicyConf conf);
32
33 AuthMapperResult build(
34 String pac4jCoreName,
35 ObjectProvider<AuthenticationEventExecutionPlan> authenticationEventExecutionPlan,
36 List<MultifactorAuthenticationProvider> multifactorAuthenticationProviders,
37 AuthPolicyTO policy,
38 List<AuthModuleTO> authModules);
39 }