use of edu.uiuc.ncsa.myproxy.MPConnectionProvider in project OA4MP by ncsa.
the class CRServlet method createMPConnection.
protected MyProxyConnectable createMPConnection(Identifier identifier, String userName, String password, long lifetime, String loa) throws GeneralSecurityException {
MPConnectionProvider facades = new MPConnectionProvider(getMyLogger(), MyProxyDelegationServlet.getServiceEnvironment().getMyProxyServices());
MyProxyConnectable mpc = facades.findConnection(identifier, userName, password, loa, lifetime);
DebugUtil.dbg(this, ((MPSingleConnectionProvider.MyProxyLogonConnection) mpc).getMyProxyLogon().toString());
getMyproxyConnectionCache().add(mpc);
return mpc;
}
Aggregations