本文整理汇总了Java中org.opensaml.saml2.core.Status.DEFAULT_ELEMENT_LOCAL_NAME属性的典型用法代码示例。如果您正苦于以下问题:Java Status.DEFAULT_ELEMENT_LOCAL_NAME属性的具体用法?Java Status.DEFAULT_ELEMENT_LOCAL_NAME怎么用?Java Status.DEFAULT_ELEMENT_LOCAL_NAME使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.opensaml.saml2.core.Status
的用法示例。
在下文中一共展示了Status.DEFAULT_ELEMENT_LOCAL_NAME属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setUp
/** {@inheritDoc} */
protected void setUp() throws Exception {
super.setUp();
expectedID = "def456";
expectedInResponseTo = "abc123";
expectedSAMLVersion = SAMLVersion.VERSION_20;
expectedIssueInstant = new DateTime(2006, 2, 21, 16, 40, 0, 0, ISOChronology.getInstanceUTC());
expectedDestination = "http://sp.example.org/endpoint";
expectedConsent = "urn:string:consent";
QName issuerQName = new QName(SAMLConstants.SAML20_NS, Issuer.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20_PREFIX);
expectedIssuer = (Issuer) buildXMLObject(issuerQName);
QName statusQName = new QName(SAMLConstants.SAML20P_NS, Status.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20P_PREFIX);
expectedStatus = (Status) buildXMLObject(statusQName);
}
示例2: testSingleElementMarshall
/** {@inheritDoc} */
public void testSingleElementMarshall() {
QName qname = new QName(SAMLConstants.SAML20P_NS, Status.DEFAULT_ELEMENT_LOCAL_NAME);
Status status = (Status) buildXMLObject(qname);
assertEquals(expectedDOM, status);
}
示例3: testChildElementsMarshall
/** {@inheritDoc} */
public void testChildElementsMarshall() {
QName qname = new QName(SAMLConstants.SAML20P_NS, Status.DEFAULT_ELEMENT_LOCAL_NAME);
Status status = (Status) buildXMLObject(qname);
QName statusCodeQName = new QName(SAMLConstants.SAML20P_NS, StatusCode.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20P_PREFIX);
status.setStatusCode((StatusCode) buildXMLObject(statusCodeQName));
QName statusMessageQName = new QName(SAMLConstants.SAML20P_NS, StatusMessage.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20P_PREFIX);
status.setStatusMessage((StatusMessage) buildXMLObject(statusMessageQName));
assertEquals(expectedChildElementsDOM, status);
}
示例4: StatusMarshaller
/**
* Constructor.
*/
public StatusMarshaller() {
super(SAMLConstants.SAML20P_NS, Status.DEFAULT_ELEMENT_LOCAL_NAME);
}
示例5: StatusUnmarshaller
/**
* Constructor.
*/
public StatusUnmarshaller() {
super(SAMLConstants.SAML20P_NS, Status.DEFAULT_ELEMENT_LOCAL_NAME);
}
示例6: StatusSchemaTest
/**
* Constructor
*
*/
public StatusSchemaTest() {
super();
targetQName = new QName(SAMLConstants.SAML20P_NS, Status.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20P_PREFIX);
validator = new StatusSchemaValidator();
}