loginBean.getEncryptor().encryptPasswd(aPassword));
return loginBean.getSessionRemote(sessId);
}
protected static LoginRemoteAbstarct getLoginBean() throws NamingException {
ContextParams contextParams = ContextParamsHolder.getContextParams();
InitialContext ic = null;
if (contextParams != null){
ic = new InitialContext(contextParams.getParams());
}else{
ic = new InitialContext();
}
return (LoginRemoteAbstarct) ic.lookup("clips-beans/" + "LoginBean");
}