com.novell.zos.grid
Interface Message.SessionResponse

All Superinterfaces:
Cloneable, Message, Serializable
Enclosing interface:
Message

public static interface Message.SessionResponse
extends Message


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.novell.zos.grid.Message
Message.Ack, Message.AuthFailure, Message.ClientResponseMessage, Message.Event, Message.GetGridObjects, Message.GridObjects, Message.JobAccepted, Message.JobError, Message.JobFinished, Message.JobIdEvent, Message.JobInfo, Message.Jobs, Message.JobStarted, Message.JobStatus, Message.LoginFailed, Message.LoginSuccess, Message.LogoutAck, Message.NeedUpgrade, Message.RunningJobs, Message.ServerStatus, Message.SessionAck, Message.SessionChallenge, Message.SessionResponse, Message.SessionStatus
 
Field Summary
 
Fields inherited from interface com.novell.zos.grid.Message
ACK, AUTH_FAILURE, COMPLETE, EVENT, GET_GRID_OBJECTS, GRID_OBJECTS, JOB_ACCEPTED, JOB_ERROR, JOB_FINISHED, JOB_INFO, JOB_STARTED, JOB_STATUS, JOB_STATUS_DETAIL, JOBS, LOGIN_FAILED, LOGIN_SUCCESS, LOGOUT_ACK, NEED_UPGRADE, RUN_JOB2, RUNNING_JOBS, SERVER_STATUS, SESSION_ACK, SESSION_CHALLENGE, SESSION_RESPONSE, SESSION_STATUS
 
Method Summary
 byte[] getCNonce()
          Return the random client-supplied "nonce" to be hashed using the server's shared key.
 byte[] getResponse()
          Return the client's hashed response to the Nonce.
 long getSessionId()
          Return ID of the session being authenticated.
 boolean subSession()
          Flag to indicate that a new subsession is requested.
 
Methods inherited from interface com.novell.zos.grid.Message
getCreationTime, getSource, getType, getTypeString
 

Method Detail

getSessionId

long getSessionId()
Return ID of the session being authenticated.

Returns:
The unique ID of the session to authenticate.

getResponse

byte[] getResponse()
Return the client's hashed response to the Nonce.

Returns the client's response to the Nonce field in the SessionChallenge message. This can be checked by the server to ensure that the client is legitimate.

Returns:
The client-generated response field.

getCNonce

byte[] getCNonce()
Return the random client-supplied "nonce" to be hashed using the server's shared key.

Used for mutual authentication so that the client is sure of the server's identity.

Returns:
The random nonce data to be hashed to authenticate the server.

subSession

boolean subSession()
Flag to indicate that a new subsession is requested.

If true and session authentication is successful, and the maximum active subsession count is not exceeded, then the login session is "cloned" into a "subsession" that can be used to execute concurrent tasks under a single session credential.

Subsessions inherit all session timeout and ACK window paramerters from the parent session. If the parent session is logged out, revoked, expired, timed out, or otherwise terminated, then the same thing happens immediately to all of its active subsessions.

Session authentication will fail if this flag is set for a reconnection to a subsession, since only top level login sessions are allowed to contain subsessions.

Returns:
Flag to indicate request of a new subsession.


Copyright 2008 Novell, Inc. All Rights Reserved.