Package be.business.connector.core.utils
Class STSHelper
- java.lang.Object
-
- be.business.connector.core.utils.STSHelper
-
public class STSHelper extends Object
The Class STSHelper.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSAML_ASSERTIONThe Constant SAML_ASSERTION.static StringSAML_ATTRIBUTESTATEMENTThe Constant SAML_ATTRIBUTESTATEMENT.static StringSAML_CONDITIONSThe Constant SAML_CONDITIONS.static StringSAML_NOTONORAFTERThe Constant SAML_NOTONORAFTER.static StringSAML_STATUSCODEThe Constant SAML_STATUSCODE.static StringSAML_STATUSMESSAGEThe Constant SAML_STATUSMESSAGE.static StringSAML_SUCCESSThe Constant SAML_SUCCESS.static StringSAML_VALUEThe Constant SAML_VALUE.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Elementconvert(Source stsResponse)Convert.static ElementgetAssertion(Element stsResponse)Gets the assertion.static NodeListgetAttributes(Element stsResponse)Gets the attributes.static NodeListgetConditions(Element stsResponse)Gets the conditions.static StringgetNihii(Element element)Gets the nihii.static StringgetNiss(Element element)Gets the niss.static CalendargetNotOnOrAfterConditions(Element stsResponse)Gets the not on or after conditions.static StringgetStatusCode(Element stsResponse)Gets the status code.static StringgetStatusMessage(Element stsResponse)Gets the status message.static StringgetType(Element element)
-
-
-
Field Detail
-
SAML_CONDITIONS
public static final String SAML_CONDITIONS
The Constant SAML_CONDITIONS.- See Also:
- Constant Field Values
-
SAML_NOTONORAFTER
public static final String SAML_NOTONORAFTER
The Constant SAML_NOTONORAFTER.- See Also:
- Constant Field Values
-
SAML_SUCCESS
public static final String SAML_SUCCESS
The Constant SAML_SUCCESS.- See Also:
- Constant Field Values
-
SAML_STATUSCODE
public static final String SAML_STATUSCODE
The Constant SAML_STATUSCODE.- See Also:
- Constant Field Values
-
SAML_STATUSMESSAGE
public static final String SAML_STATUSMESSAGE
The Constant SAML_STATUSMESSAGE.- See Also:
- Constant Field Values
-
SAML_VALUE
public static final String SAML_VALUE
The Constant SAML_VALUE.- See Also:
- Constant Field Values
-
SAML_ASSERTION
public static final String SAML_ASSERTION
The Constant SAML_ASSERTION.- See Also:
- Constant Field Values
-
SAML_ATTRIBUTESTATEMENT
public static final String SAML_ATTRIBUTESTATEMENT
The Constant SAML_ATTRIBUTESTATEMENT.- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatusCode
public static String getStatusCode(Element stsResponse)
Gets the status code.- Parameters:
stsResponse- the sts response- Returns:
- the status code
-
getStatusMessage
public static String getStatusMessage(Element stsResponse)
Gets the status message.- Parameters:
stsResponse- the sts response- Returns:
- the status message
-
getNotOnOrAfterConditions
public static Calendar getNotOnOrAfterConditions(Element stsResponse)
Gets the not on or after conditions.- Parameters:
stsResponse- the sts response- Returns:
- the not on or after conditions
-
getConditions
public static NodeList getConditions(Element stsResponse)
Gets the conditions.- Parameters:
stsResponse- the sts response- Returns:
- the conditions
-
getAttributes
public static NodeList getAttributes(Element stsResponse)
Gets the attributes.- Parameters:
stsResponse- the sts response- Returns:
- the attributes
-
getAssertion
public static Element getAssertion(Element stsResponse)
Gets the assertion.- Parameters:
stsResponse- the sts response- Returns:
- the assertion
-
getNihii
public static String getNihii(Element element)
Gets the nihii.- Parameters:
element- the element- Returns:
- the nihii
- Throws:
IntegrationModuleException- the exception
-
getNiss
public static String getNiss(Element element)
Gets the niss.- Parameters:
element- the element- Returns:
- the niss
-
-