package at.gv.egiz.eaaf.core.impl.idp.auth; import at.gv.egiz.eaaf.core.api.IRequest; import at.gv.egiz.eaaf.core.api.idp.IAuthData; import at.gv.egiz.eaaf.core.api.idp.ISPConfiguration; import at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer; import at.gv.egiz.eaaf.core.exceptions.EAAFAuthenticationException; import at.gv.egiz.eaaf.core.exceptions.EAAFBuilderException; import at.gv.egiz.eaaf.core.exceptions.EAAFException; import at.gv.egiz.eaaf.core.impl.data.Pair; import at.gv.egiz.eaaf.core.impl.idp.AuthenticationData; import at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder; import at.gv.egiz.eaaf.core.impl.idp.auth.data.AuthProcessDataWrapper; public class TestAuthenticationDataBuilder extends AbstractAuthenticationDataBuilder { @Override protected IAuthData getAuthDataInstance(IRequest pendingReq) throws EAAFException { throw new EAAFException("Not supported yet"); } @Override protected void buildServiceSpecificAuthenticationData(IAuthData authData, IRequest pendingReq) throws EAAFException { throw new EAAFException("Not supported yet"); } @Override @Deprecated protected IAuthData buildDeprecatedAuthData(IRequest pendingReq) throws EAAFException { final AuthenticationData authData = new AuthenticationData(); try { generateDeprecatedBasicAuthData(authData, pendingReq, pendingReq.getSessionData(AuthProcessDataWrapper.class)); } catch (final Exception e) { e.printStackTrace(); throw new EAAFAuthenticationException("AuthDataGeneration FAILED", null, e); } return authData; } @Override protected Pair getEncryptedbPKFromPVPAttribute(IAuthProcessDataContainer authProcessDataContainer, AuthenticationData authData, ISPConfiguration spConfig) throws EAAFBuilderException { // TODO Auto-generated method stub return null; } @Override protected Pair getbaseIDFromSZR(AuthenticationData authData, String notValidbPK, String notValidbPKType) { // TODO Auto-generated method stub return null; } }