/** * Create an assertion * * @param id * @param issuer * * @return */ public static AssertionType createAssertion(String id, NameIDType issuer) { XMLGregorianCalendar issueInstant = null; try { issueInstant = XMLTimeUtil.getIssueInstant(); } catch (ConfigurationException e) { throw new RuntimeException(e); } AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuer); return assertion; }
/** * Create an assertion * * @param id * @param issuer * @return */ public static AssertionType createAssertion(String id, NameIDType issuer) { XMLGregorianCalendar issueInstant = null; try { issueInstant = XMLTimeUtil.getIssueInstant(); } catch (ConfigurationException e) { throw new RuntimeException(e); } AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuer); return assertion; }
/** * Create an assertion * @param id * @param issuer * @return */ public static AssertionType createAssertion(String id, NameIDType issuer) { XMLGregorianCalendar issueInstant = null; try { issueInstant = XMLTimeUtil.getIssueInstant(); } catch (ConfigurationException e) { throw new RuntimeException(e); } AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuer); return assertion; }
/** * Create an assertion * * @param id * @param issuer * * @return */ public static AssertionType createAssertion(String id, NameIDType issuer) { XMLGregorianCalendar issueInstant = null; try { issueInstant = XMLTimeUtil.getIssueInstant(); } catch (ConfigurationException e) { throw new RuntimeException(e); } AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuer); return assertion; }
/** * Create an assertion * @param id * @param issuer * @return */ public static AssertionType createAssertion(String id, NameIDType issuer) { XMLGregorianCalendar issueInstant = null; try { issueInstant = XMLTimeUtil.getIssueInstant(); } catch (ConfigurationException e) { throw new RuntimeException(e); } AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuer); return assertion; }
private AssertionType parseBaseAttributes(StartElement nextElement) throws ParsingException { Attribute idAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ID.get())); String id = StaxParserUtil.getAttributeValue(idAttribute); Attribute versionAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.VERSION.get())); String version = StaxParserUtil.getAttributeValue(versionAttribute); StringUtil.match(JBossSAMLConstants.VERSION_2_0.get(), version); Attribute issueInstantAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ISSUE_INSTANT.get())); XMLGregorianCalendar issueInstant = XMLTimeUtil.parse(StaxParserUtil.getAttributeValue(issueInstantAttribute)); return new AssertionType(id, issueInstant); }
private AssertionType parseBaseAttributes(StartElement nextElement) throws ParsingException { Attribute idAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ID.get())); String id = StaxParserUtil.getAttributeValue(idAttribute); Attribute versionAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.VERSION.get())); String version = StaxParserUtil.getAttributeValue(versionAttribute); StringUtil.match(JBossSAMLConstants.VERSION_2_0.get(), version); Attribute issueInstantAttribute = nextElement .getAttributeByName(new QName(JBossSAMLConstants.ISSUE_INSTANT.get())); XMLGregorianCalendar issueInstant = XMLTimeUtil.parse(StaxParserUtil.getAttributeValue(issueInstantAttribute)); return new AssertionType(id, issueInstant); }
private AssertionType parseBaseAttributes(StartElement nextElement) throws ParsingException { Attribute idAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ID.get())); String id = StaxParserUtil.getAttributeValue(idAttribute); Attribute versionAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.VERSION.get())); String version = StaxParserUtil.getAttributeValue(versionAttribute); StringUtil.match(JBossSAMLConstants.VERSION_2_0.get(), version); Attribute issueInstantAttribute = nextElement .getAttributeByName(new QName(JBossSAMLConstants.ISSUE_INSTANT.get())); XMLGregorianCalendar issueInstant = XMLTimeUtil.parse(StaxParserUtil.getAttributeValue(issueInstantAttribute)); return new AssertionType(id, issueInstant); }
private AssertionType parseBaseAttributes(StartElement nextElement) throws ParsingException { Attribute idAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ID.get())); String id = StaxParserUtil.getAttributeValue(idAttribute); Attribute versionAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.VERSION.get())); String version = StaxParserUtil.getAttributeValue(versionAttribute); StringUtil.match(JBossSAMLConstants.VERSION_2_0.get(), version); Attribute issueInstantAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ISSUE_INSTANT.get())); XMLGregorianCalendar issueInstant = XMLTimeUtil.parse(StaxParserUtil.getAttributeValue(issueInstantAttribute)); return new AssertionType(id, issueInstant); }
private AssertionType parseBaseAttributes(StartElement nextElement) throws ParsingException { Attribute idAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ID.get())); String id = StaxParserUtil.getAttributeValue(idAttribute); Attribute versionAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.VERSION.get())); String version = StaxParserUtil.getAttributeValue(versionAttribute); StringUtil.match(JBossSAMLConstants.VERSION_2_0.get(), version); Attribute issueInstantAttribute = nextElement.getAttributeByName(new QName(JBossSAMLConstants.ISSUE_INSTANT.get())); XMLGregorianCalendar issueInstant = XMLTimeUtil.parse(StaxParserUtil.getAttributeValue(issueInstantAttribute)); return new AssertionType(id, issueInstant); }
AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuerID); if (conditions != null)
AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuerID); if (conditions != null)
AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuerID); if (conditions != null)
ConditionsType conditions, SubjectType subject, List<StatementAbstractType> statements) AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuerID); if (conditions != null)
ConditionsType conditions, SubjectType subject, List<StatementAbstractType> statements) AssertionType assertion = new AssertionType(id, issueInstant); assertion.setIssuer(issuerID); if (conditions != null)