|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.authz.common.model.Attribute
public final class Attribute
An attribute that identifies either a Subject
, Resource
, Environment
or Action
.
If no data type is given for an attribute the data type defaults to "http://www.w3.org/2001/XMLSchema#string".
Field Summary | |
---|---|
static java.lang.String |
DT_ANY_URI
The any URI data type URI, "http://www.w3.org/2001/XMLSchema#anyURI" . |
static java.lang.String |
DT_BASE64_BINARY
The base64-encoded binary data type URI, "http://www.w3.org/2001/XMLSchema#base64Binary" . |
static java.lang.String |
DT_BOOLEAN
The boolean data type URI, "http://www.w3.org/2001/XMLSchema#boolean" . |
static java.lang.String |
DT_DATE
The date data type URI, "http://www.w3.org/2001/XMLSchema#date" . |
static java.lang.String |
DT_DATE_TIME
The date/time data type URI, "http://www.w3.org/2001/XMLSchema#dateTime" . |
static java.lang.String |
DT_DAY_TIME
The XQuery dayTimeDuration data type URI, "http://www.w3.org/TR/2002/WD-xquery-operators-20020816#dayTimeDuration" . |
static java.lang.String |
DT_DOUBLE
The double data type URI, "http://www.w3.org/2001/XMLSchema#double" . |
static java.lang.String |
DT_HEX_BINARY
The hex-encoded binary data type URI, "http://www.w3.org/2001/XMLSchema#hexBinary" . |
static java.lang.String |
DT_INTEGER
The integer data type URI, "http://www.w3.org/2001/XMLSchema#integer" . |
static java.lang.String |
DT_RFC822_NAME
The RFC822 name (email address) data type URI, "urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name" . |
static java.lang.String |
DT_STRING
The string data type URI, "http://www.w3.org/2001/XMLSchema#string" . |
static java.lang.String |
DT_TIME
The time data type URI, "http://www.w3.org/2001/XMLSchema#time" . |
static java.lang.String |
DT_X500_NAME
The X.500 name (DN) data type URI, "urn:oasis:names:tc:xacml:1.0:data-type:x500Name" . |
static java.lang.String |
DT_YEAR_MONTH
The XQuery yearMonthDuration data type URI, "http://www.w3.org/TR/2002/WD-xquery-operators-20020816#yearMonthDuration" . |
static java.lang.String |
ID_ACT_ID
The action ID attribute ID, "urn:oasis:names:tc:xacml:1.0:action:action-id" . |
static java.lang.String |
ID_ACT_IMPLIED_ACTION
The action implied action attribute ID, "urn:oasis:names:tc:xacml:1.0:action:implied-action" . |
static java.lang.String |
ID_ENV_CURRENT_DATE
The environment current date attribute ID, "urn:oasis:names:tc:xacml:1.0:environment:current-date" . |
static java.lang.String |
ID_ENV_CURRENT_DATE_TIME
The environment current date/time attribute ID, "urn:oasis:names:tc:xacml:1.0:environment:current-dateTime" . |
static java.lang.String |
ID_ENV_CURRENT_TIME
The environment current time attribute ID, "urn:oasis:names:tc:xacml:1.0:environment:current-time" . |
static java.lang.String |
ID_RES_ID
The resource ID attribute ID, "urn:oasis:names:tc:xacml:1.0:resource:resource-id" . |
static java.lang.String |
ID_RES_LOCATION
The resource location attribute ID, "urn:oasis:names:tc:xacml:1.0:resource:resource-location" . |
static java.lang.String |
ID_RES_SIMPLE_FILE_NAME
The resource simple file name attribute ID, "urn:oasis:names:tc:xacml:1.0:resource:simple-file-name" . |
static java.lang.String |
ID_SUB_AUTHN_DNS_NAME
The subject authentication locality DNS name attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:authn-locality:dns-name" . |
static java.lang.String |
ID_SUB_AUTHN_IP_ADDRESS
The subject authentication locality IP address attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:authn-locality:ip-address" . |
static java.lang.String |
ID_SUB_AUTHN_METHOD
The subject authentication method attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:authentication-method" . |
static java.lang.String |
ID_SUB_AUTHN_TIME
The subject authentication time attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:authentication-time" . |
static java.lang.String |
ID_SUB_CAT_ACCESS_SUBJECT
The subject category access subject attribute ID, "urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" . |
static java.lang.String |
ID_SUB_CAT_CODEBASE
The subject category codebase attribute ID, "urn:oasis:names:tc:xacml:1.0:subject-category:codebase" . |
static java.lang.String |
ID_SUB_CAT_INTERMEDIARY_SUBJECT
The subject category intermediary subject attribute ID, "urn:oasis:names:tc:xacml:1.0:subject-category:intermediary-subject" . |
static java.lang.String |
ID_SUB_CAT_RECIPIENT_SUBJECT
The subject category recipient attribute ID, "urn:oasis:names:tc:xacml:1.0:subject-category:recipient-subject" . |
static java.lang.String |
ID_SUB_CAT_REQUEST_MACHINE
The subject category requesting machine attribute ID, "urn:oasis:names:tc:xacml:1.0:subject-category:requesting-machine" . |
static java.lang.String |
ID_SUB_ID
The subject ID attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:subject-id" . |
static java.lang.String |
ID_SUB_ID_QUALIFIER
The subject ID qualifier attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier" . |
static java.lang.String |
ID_SUB_KEY_INFO
The subject key information attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:key-info" . |
static java.lang.String |
ID_SUB_REQUEST_TIME
The subject request time attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:request-time" . |
static java.lang.String |
ID_SUB_SESSION_START_TIME
The subject session start time attribute ID, "urn:oasis:names:tc:xacml:1.0:subject:session-start-time" . |
Constructor Summary | |
---|---|
Attribute()
Constructor. |
|
Attribute(java.lang.String id)
Constructor. |
|
Attribute(java.lang.String id,
java.lang.String dataType)
Constructor. |
|
Attribute(java.lang.String id,
java.lang.String dataType,
java.lang.String issuer)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
. |
java.lang.String |
getDataType()
Gets the data type of the attribute. |
java.lang.String |
getId()
Gets the ID of the attribute. |
java.lang.String |
getIssuer()
Gets the issuer of the attribute. |
java.util.Set<java.lang.Object> |
getValues()
Gets the values of the attribute. |
int |
hashCode()
. |
void |
setDataType(java.lang.String type)
Sets the data type of the attribute. |
void |
setId(java.lang.String newId)
Sets the ID of the attribute. |
void |
setIssuer(java.lang.String newIssuer)
Sets the issuer of the attribute. |
java.lang.String |
toString()
. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DT_STRING
public static final java.lang.String DT_BOOLEAN
public static final java.lang.String DT_INTEGER
public static final java.lang.String DT_DOUBLE
public static final java.lang.String DT_TIME
public static final java.lang.String DT_DATE
public static final java.lang.String DT_DATE_TIME
public static final java.lang.String DT_DAY_TIME
public static final java.lang.String DT_YEAR_MONTH
public static final java.lang.String DT_ANY_URI
public static final java.lang.String DT_HEX_BINARY
public static final java.lang.String DT_BASE64_BINARY
public static final java.lang.String DT_RFC822_NAME
public static final java.lang.String DT_X500_NAME
public static final java.lang.String ID_ACT_ID
public static final java.lang.String ID_ACT_IMPLIED_ACTION
public static final java.lang.String ID_ENV_CURRENT_TIME
public static final java.lang.String ID_ENV_CURRENT_DATE
public static final java.lang.String ID_ENV_CURRENT_DATE_TIME
public static final java.lang.String ID_RES_LOCATION
public static final java.lang.String ID_RES_ID
public static final java.lang.String ID_RES_SIMPLE_FILE_NAME
public static final java.lang.String ID_SUB_AUTHN_DNS_NAME
public static final java.lang.String ID_SUB_AUTHN_IP_ADDRESS
public static final java.lang.String ID_SUB_AUTHN_METHOD
public static final java.lang.String ID_SUB_AUTHN_TIME
public static final java.lang.String ID_SUB_KEY_INFO
public static final java.lang.String ID_SUB_REQUEST_TIME
public static final java.lang.String ID_SUB_SESSION_START_TIME
public static final java.lang.String ID_SUB_ID
public static final java.lang.String ID_SUB_ID_QUALIFIER
public static final java.lang.String ID_SUB_CAT_ACCESS_SUBJECT
public static final java.lang.String ID_SUB_CAT_CODEBASE
public static final java.lang.String ID_SUB_CAT_INTERMEDIARY_SUBJECT
public static final java.lang.String ID_SUB_CAT_RECIPIENT_SUBJECT
public static final java.lang.String ID_SUB_CAT_REQUEST_MACHINE
Constructor Detail |
---|
public Attribute()
public Attribute(java.lang.String id, java.lang.String dataType, java.lang.String issuer)
id
- The attribute identifierdataType
- The attribute DataTypeissuer
- The attribute issuerpublic Attribute(java.lang.String id, java.lang.String dataType)
id
- The attribute identifierdataType
- The attribute data typepublic Attribute(java.lang.String id)
id
- The attribute identifierMethod Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String newId)
newId
- ID of the attributepublic java.lang.String getDataType()
public void setDataType(java.lang.String type)
type
- data type of the attributepublic java.lang.String getIssuer()
public void setIssuer(java.lang.String newIssuer)
newIssuer
- issuer of the attributepublic java.util.Set<java.lang.Object> getValues()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |