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 org.apereo.cas.services.RegisteredServiceAuthenticationPolicy;
22 import org.apereo.cas.services.RegisteredServiceDelegatedAuthenticationPolicy;
23 import org.apereo.cas.services.RegisteredServiceMultifactorPolicy;
24
25 public class AuthMapperResult {
26
27 public static final AuthMapperResult EMPTY = new AuthMapperResult(null, null, null);
28
29 private final RegisteredServiceAuthenticationPolicy authPolicy;
30
31 private final RegisteredServiceMultifactorPolicy mfaPolicy;
32
33 private final RegisteredServiceDelegatedAuthenticationPolicy delegateAuthPolicy;
34
35 public AuthMapperResult(
36 final RegisteredServiceAuthenticationPolicy authPolicy,
37 final RegisteredServiceMultifactorPolicy mfaPolicy,
38 final RegisteredServiceDelegatedAuthenticationPolicy delegateAuthPolicy) {
39
40 this.authPolicy = authPolicy;
41 this.mfaPolicy = mfaPolicy;
42 this.delegateAuthPolicy = delegateAuthPolicy;
43 }
44
45 public RegisteredServiceAuthenticationPolicy getAuthPolicy() {
46 return authPolicy;
47 }
48
49 public RegisteredServiceMultifactorPolicy getMfaPolicy() {
50 return mfaPolicy;
51 }
52
53 public RegisteredServiceDelegatedAuthenticationPolicy getDelegateAuthPolicy() {
54 return delegateAuthPolicy;
55 }
56 }