Search in sources :

Example 1 with MPConnectionProvider

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;
}
Also used : MyProxyConnectable(edu.uiuc.ncsa.myproxy.MyProxyConnectable) MPConnectionProvider(edu.uiuc.ncsa.myproxy.MPConnectionProvider)

Aggregations

MPConnectionProvider (edu.uiuc.ncsa.myproxy.MPConnectionProvider)1 MyProxyConnectable (edu.uiuc.ncsa.myproxy.MyProxyConnectable)1