public Session authenticate(String userId, String password)
throws SecurityException
{
VUtil.assertNotNullOrEmpty(userId, GlobalErrIds.USER_ID_NULL, CLS_NM + ".authenticate");
VUtil.assertNotNullOrEmpty(password, GlobalErrIds.USER_PW_NULL, ".authenticate");
<BUG>Session retSession;
FortRequest request = new FortRequest();
request.setContextId(this.contextId);</BUG>
request.setEntity( new User( userId, password ) );
String szRequest = RestUtils.marshal(request);

public Session authenticate(String userId, String password)
throws SecurityException
{
VUtil.assertNotNullOrEmpty(userId, GlobalErrIds.USER_ID_NULL, CLS_NM + ".authenticate");
VUtil.assertNotNullOrEmpty(password, GlobalErrIds.USER_PW_NULL, ".authenticate");
Session retSession;
FortRequest request = RestUtils.getRequest( this.contextId );
request.setEntity( new User( userId, password ) );
String szRequest = RestUtils.marshal(request);
