Test Failed
Push — master ( 7c8fa2...c3290a )
by Misagh
27:59 queued 13:41
created

getNeverRelease()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 2
rs 10
1
package org.apereo.cas.configuration.model.core.authentication;
2
3
import org.apereo.cas.configuration.support.RequiresModule;
4
5
import java.util.ArrayList;
6
import java.util.List;
7
8
/**
9
 * Authentication attribute release properties.
10
 *
11
 * @author Daniel Frett
12
 * @since 5.2.0
13
 */
14
@RequiresModule(name = "cas-server-support-validation", automated = true)
15
public class AuthenticationAttributeReleaseProperties {
16
    /**
17
     * List of authentication attributes that should never be released.
18
     */
19
    private List<String> neverRelease = new ArrayList<>();
20
21
    /**
22
     * List of authentication attributes that should be the only ones released. An empty list indicates all attributes
23
     * should be released.
24
     */
25
    private List<String> onlyRelease = new ArrayList<>();
26
27
    public List<String> getNeverRelease() {
28
        return neverRelease;
29
    }
30
31
    public void setNeverRelease(final List<String> neverRelease) {
32
        this.neverRelease = neverRelease;
33
    }
34
35
    public List<String> getOnlyRelease() {
36
        return onlyRelease;
37
    }
38
39
    public void setOnlyRelease(final List<String> onlyRelease) {
40
        this.onlyRelease = onlyRelease;
41
    }
42
}
43