use of uk.gov.ida.saml.core.OpenSamlXmlObjectFactory in project verify-hub by alphagov.
the class AuthnResponseFactory method buildNameID.
private NameID buildNameID(String id) {
NameID nameId = new OpenSamlXmlObjectFactory().createNameId(id);
nameId.setFormat(NameIDType.PERSISTENT);
return nameId;
}
Aggregations