SAML11AuthenticationStatementType subStat = (SAML11AuthenticationStatementType) statement; SAML11SubjectType subject = subStat.getSubject(); username = subject.getChoice().getNameID().getValue();
SAML11AuthenticationStatementType subStat = (SAML11AuthenticationStatementType) statement; SAML11SubjectType subject = subStat.getSubject(); username = subject.getChoice().getNameID().getValue();
public void write(SAML11NameIdentifierType nameid) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.NAME_IDENTIFIER, SAML11Constants.ASSERTION_11_NSURI); URI format = nameid.getFormat(); if (format != null) { StaxUtil.writeAttribute(writer, SAML11Constants.FORMAT, format.toString()); } String nameQualifier = nameid.getNameQualifier(); if (StringUtil.isNotNull(nameQualifier)) { StaxUtil.writeAttribute(writer, SAML11Constants.NAME_QUALIFIER, nameQualifier); } StaxUtil.writeCharacters(writer, nameid.getValue()); StaxUtil.writeEndElement(writer); StaxUtil.flush(writer); }
public void write(SAML11NameIdentifierType nameid) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.NAME_IDENTIFIER, SAML11Constants.ASSERTION_11_NSURI); URI format = nameid.getFormat(); if (format != null) { StaxUtil.writeAttribute(writer, SAML11Constants.FORMAT, format.toString()); } String nameQualifier = nameid.getNameQualifier(); if (StringUtil.isNotNull(nameQualifier)) { StaxUtil.writeAttribute(writer, SAML11Constants.NAME_QUALIFIER, nameQualifier); } StaxUtil.writeCharacters(writer, nameid.getValue()); StaxUtil.writeEndElement(writer); StaxUtil.flush(writer); }
public void write(SAML11NameIdentifierType nameid) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.NAME_IDENTIFIER, SAML11Constants.ASSERTION_11_NSURI); URI format = nameid.getFormat(); if (format != null) { StaxUtil.writeAttribute(writer, SAML11Constants.FORMAT, format.toString()); } String nameQualifier = nameid.getNameQualifier(); if (StringUtil.isNotNull(nameQualifier)) { StaxUtil.writeAttribute(writer, SAML11Constants.NAME_QUALIFIER, nameQualifier); } StaxUtil.writeCharacters(writer, nameid.getValue()); StaxUtil.writeEndElement(writer); StaxUtil.flush(writer); }
public void write(SAML11NameIdentifierType nameid) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.NAME_IDENTIFIER, SAML11Constants.ASSERTION_11_NSURI); URI format = nameid.getFormat(); if (format != null) { StaxUtil.writeAttribute(writer, SAML11Constants.FORMAT, format.toString()); } String nameQualifier = nameid.getNameQualifier(); if (StringUtil.isNotNull(nameQualifier)) { StaxUtil.writeAttribute(writer, SAML11Constants.NAME_QUALIFIER, nameQualifier); } StaxUtil.writeCharacters(writer, nameid.getValue()); StaxUtil.writeEndElement(writer); StaxUtil.flush(writer); }
public void write(SAML11NameIdentifierType nameid) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.NAME_IDENTIFIER, SAML11Constants.ASSERTION_11_NSURI); URI format = nameid.getFormat(); if (format != null) { StaxUtil.writeAttribute(writer, SAML11Constants.FORMAT, format.toString()); } String nameQualifier = nameid.getNameQualifier(); if (StringUtil.isNotNull(nameQualifier)) { StaxUtil.writeAttribute(writer, SAML11Constants.NAME_QUALIFIER, nameQualifier); } StaxUtil.writeCharacters(writer, nameid.getValue()); StaxUtil.writeEndElement(writer); StaxUtil.flush(writer); }
SAML11AuthenticationStatementType subStat = (SAML11AuthenticationStatementType) statement; SAML11SubjectType subject = subStat.getSubject(); principal = new SerializablePrincipal(subject.getChoice().getNameID().getValue());
SAML11AuthenticationStatementType subStat = (SAML11AuthenticationStatementType) statement; SAML11SubjectType subject = subStat.getSubject(); principal = new SerializablePrincipal(subject.getChoice().getNameID().getValue());
SAML11AuthenticationStatementType subStat = (SAML11AuthenticationStatementType) statement; SAML11SubjectType subject = subStat.getSubject(); username = subject.getChoice().getNameID().getValue();
SAML11AuthenticationStatementType subStat = (SAML11AuthenticationStatementType) statement; SAML11SubjectType subject = subStat.getSubject(); username = subject.getChoice().getNameID().getValue();
SAML11AuthenticationStatementType subStat = (SAML11AuthenticationStatementType) statement; SAML11SubjectType subject = subStat.getSubject(); username = subject.getChoice().getNameID().getValue();