1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.opensaml.xacml.ctx;
20
21 import javax.xml.namespace.QName;
22
23 import org.opensaml.xacml.XACMLConstants;
24 import org.opensaml.xacml.XACMLObject;
25
26
27 public interface StatusCodeType extends XACMLObject {
28
29
30 public static final String DEFAULT_ELEMENT_LOCAL_NAME = "StatusCode";
31
32
33 public static final QName DEFAULT_ELEMENT_NAME = new QName(XACMLConstants.XACML20CTX_NS,
34 DEFAULT_ELEMENT_LOCAL_NAME, XACMLConstants.XACMLCONTEXT_PREFIX);
35
36
37 public static final String TYPE_LOCAL_NAME = "StatusCodeType";
38
39
40 public static final QName TYPE_NAME = new QName(XACMLConstants.XACML20CTX_NS, TYPE_LOCAL_NAME,
41 XACMLConstants.XACMLCONTEXT_PREFIX);
42
43
44 public static final String VALUE_ATTTRIB_NAME = "Value";
45
46
47 public static final String SC_MISSING_ATTRIBUTE = "urn:oasis:names:tc:xacml:1.0:status:missing-attribute";
48
49
50 public static final String SC_OK = "urn:oasis:names:tc:xacml:1.0:status:ok";
51
52
53 public static final String SC_PROCESSING_ERROR = "urn:oasis:names:tc:xacml:1.0:status:processing-error";
54
55
56 public static final String SC_SYNTAX_ERROR = "urn:oasis:names:tc:xacml:1.0:status:syntax-error";
57
58
59
60
61
62
63 public StatusCodeType getStatusCode();
64
65
66
67
68
69
70 public void setStatusCode(StatusCodeType code);
71
72
73
74
75
76
77 public String getValue();
78
79
80
81
82
83
84 public void setValue(String value);
85 }