public class Action extends Object
Action
element in SAML core
assertion. This element specifies an action on specified resource for
which permission is sought.Constructor and Description |
---|
Action(Element element)
Constructs an action element from an existing XML block.
|
Action(String namespace,
String action)
Convenience constructor of <Action>
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Gets the action string
|
String |
getNameSpace()
Gets the namespace of Action
|
String |
toString()
Creates a String representation of the
saml:Action element |
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the
saml:Action element |
public Action(Element element) throws SAMLException
element
- representing a DOM tree element.SAMLException
- f there is an error in the sender or in
the element definition.public Action(String namespace, String action) throws SAMLException
namespace
- The attribute "namespace" of
<Action>
elementaction
- A String representing an actionSAMLException
- if there is an error in the sender or in
the element definition.public String getAction()
public String getNameSpace()
public String toString()
saml:Action
elementpublic String toString(boolean includeNS, boolean declareNS)
saml:Action
elementincludeNS
- : Determines whether or not the namespace qualifier
is prepended to the Element when converteddeclareNS
- : Determines whether or not the namespace
is declared within the Element.Copyright © 2010-2018, ForgeRock All Rights Reserved.