NameIdPolicy.java
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.granite.auth.saml.model;
public class NameIdPolicy {
private String format;
private String spNameQualifier;
private boolean allowCreate;
private boolean hasAllowCreate = false;
public String getFormat() {
return this.format;
}
public void setFormat(String format) {
this.format = format;
}
public String getSpNameQualifier() {
return this.spNameQualifier;
}
public void setSpNameQualifier(String spNameQualifier) {
this.spNameQualifier = spNameQualifier;
}
public boolean isAllowCreate() {
return this.allowCreate;
}
public void setAllowCreate(boolean allowCreate) {
this.hasAllowCreate = true;
this.allowCreate = allowCreate;
}
public boolean hasAllowCreate() {
return this.hasAllowCreate;
}
public boolean hasSpNameQualifier() {
return null != this.spNameQualifier && this.spNameQualifier.length() > 0;
}
public boolean hasFormat() {
return null != this.format && this.format.length() > 0;
}
}