package at.gv.egovernment.moa.id.protocols.pvp2x.builder.attributes; import org.opensaml.saml2.core.Attribute; import at.gv.egovernment.moa.id.auth.data.AuthenticationSession; import at.gv.egovernment.moa.id.config.auth.OAAuthParameter; import at.gv.egovernment.moa.id.data.AuthenticationData; public class PVPVersionAttributeBuilder extends BaseAttributeBuilder { public String getName() { return PVP_VERSION_NAME; } public Attribute build(AuthenticationSession authSession, OAAuthParameter oaParam, AuthenticationData authData) { return buildStringAttribute(PVP_VERSION_FRIENDLY_NAME, PVP_VERSION_NAME, PVP_VERSION_2_1); } public Attribute buildEmpty() { return buildemptyAttribute(PVP_VERSION_FRIENDLY_NAME, PVP_VERSION_NAME); } }