/******************************************************************************* *******************************************************************************/ package at.gv.egiz.eaaf.modules.pvp2.idp.api.builder; import at.gv.egiz.eaaf.core.api.idp.IAuthData; import at.gv.egiz.eaaf.core.api.idp.ISPConfiguration; import at.gv.egiz.eaaf.core.impl.data.Pair; import at.gv.egiz.eaaf.modules.pvp2.exception.PVP2Exception; public interface ISubjectNameIdGenerator { /** * Generates a SAML2 subjectNameId from authentication data * * @param authData Authentication data for the current pending request * @param spConfig Service provider configuration * @return Pair of subjectNameId and NameIdFormat * @throws PVP2Exception */ public Pair generateSubjectNameId(IAuthData authData, ISPConfiguration spConfig) throws PVP2Exception; }