|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.liberty.ws.disco.Directive
The class Directive
represents a discovery service
DirectiveType
element. Current implementation supports the
following four directive types: AUTHENTICATE_REQUESTER
,
AUTHORIZE_REQUESTER
, AUTHENTICATE_SESSION_CONTEXT
,
and ENCRYPT_RESOURCEID
.
The following schema fragment specifies the expected content within the
DirectiveType
object.
<complexType name="DirectiveType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="descriptionIDRefs" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /> </restriction> </complexContent> </complexType>
Field Summary | |
static java.lang.String |
AUTHENTICATE_REQUESTER
DirectiveType AuthenticateRequester . |
static java.lang.String |
AUTHENTICATE_SESSION_CONTEXT
DirectiveType AuthenticateSessionContext . |
static java.lang.String |
AUTHORIZE_REQUESTER
DirectiveType AuthorizeRequester . |
static java.lang.String |
ENCRYPT_RESOURCEID
DirectiveType EncryptResourceID . |
static java.lang.String |
GENERATE_BEARER_TOKEN
DirectiveType GenerateBearerToken . |
Constructor Summary | |
Directive(org.w3c.dom.Element elem)
Constructs a directive instance from DOM element. |
|
Directive(java.lang.String directiveType)
Constructs a directive instance for a type of directive. |
Method Summary | |
java.util.List |
getDescriptionIDRef()
Returns a list of description ID references. |
java.lang.String |
getDirectiveType()
Returns type of directive. |
void |
setDescriptionIDRef(java.util.List idrefs)
Sets a list of description ID references. |
void |
setDirectiveType(java.lang.String directiveType)
Sets type of the directive. |
java.lang.String |
toString()
Returns the directive object in string format. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String AUTHENTICATE_REQUESTER
DirectiveType AuthenticateRequester
.
public static final java.lang.String AUTHORIZE_REQUESTER
DirectiveType AuthorizeRequester
.
public static final java.lang.String AUTHENTICATE_SESSION_CONTEXT
DirectiveType AuthenticateSessionContext
.
public static final java.lang.String ENCRYPT_RESOURCEID
DirectiveType EncryptResourceID
.
public static final java.lang.String GENERATE_BEARER_TOKEN
DirectiveType GenerateBearerToken
.
Constructor Detail |
public Directive(java.lang.String directiveType)
directiveType
- Type of the directive.public Directive(org.w3c.dom.Element elem) throws DiscoveryException
elem
- DirectiveType
DOM element.
DiscoveryException
- if error occurs.Method Detail |
public java.util.List getDescriptionIDRef()
public void setDescriptionIDRef(java.util.List idrefs)
idrefs
- a list of description ID references to be set.public java.lang.String getDirectiveType()
public void setDirectiveType(java.lang.String directiveType)
directiveType
- type of the directive to be set.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |