Package org.apache.rahas.impl.util
Class SAMLAttributeCallback
java.lang.Object
org.apache.rahas.impl.util.SAMLAttributeCallback
- All Implemented Interfaces:
SAMLCallback
-
Field Summary
Fields inherited from interface org.apache.rahas.impl.util.SAMLCallback
ATTR_CALLBACK, NAME_IDENTIFIER_CALLBACK
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributes
(org.opensaml.saml.saml1.core.Attribute attribute) Add SAML1 attribute.void
addAttributes
(org.opensaml.saml.saml2.core.Attribute attribute) Overloaded method to support SAML2org.opensaml.saml.saml1.core.Attribute[]
Get SAML2 attributeint
Returns the type of callbackgetData()
org.opensaml.saml.saml2.core.Attribute[]
Get the array of SAML2 attributes.
-
Constructor Details
-
SAMLAttributeCallback
-
-
Method Details
-
getCallbackType
public int getCallbackType()Description copied from interface:SAMLCallback
Returns the type of callback- Specified by:
getCallbackType
in interfaceSAMLCallback
- Returns:
- int Indicates callback type
-
addAttributes
public void addAttributes(org.opensaml.saml.saml1.core.Attribute attribute) Add SAML1 attribute.- Parameters:
attribute
- SAML1 attribute
-
addAttributes
public void addAttributes(org.opensaml.saml.saml2.core.Attribute attribute) Overloaded method to support SAML2- Parameters:
attribute
- SAML2 attribute.
-
getSAML2Attributes
public org.opensaml.saml.saml2.core.Attribute[] getSAML2Attributes()Get the array of SAML2 attributes.- Returns:
- SAML2 attribute list.
-
getAttributes
public org.opensaml.saml.saml1.core.Attribute[] getAttributes()Get SAML2 attribute- Returns:
- SAML2 attributes.
-
getData
-