public int getMaxNumOfEntries() {
return this.maxNumOfEntries;
}
public I_AdminSession getSession(String sessionId) throws Exception {
I_Authenticate auth = getEngineGlobal(this.global).getAuthenticate();
if (auth == null)
throw new Exception("prepareForRequest: could not retreive the Authenticator object. Can not continue.");
SessionName sessionName = new SessionName(this.global, sessionId);
I_AdminSubject subject = auth.getSubjectInfoByName(sessionName);
if (subject == null)
throw new Exception("prepareForRequest: no subject (slave) found with the session name '" + sessionId + "'");
I_AdminSession session = subject.getSessionByPubSessionId(sessionName.getPublicSessionId());
if (session == null)
throw new Exception("prepareForRequest: no session '" + sessionId + "' found. Valid sessions for this user are '" + subject.getSessionList() + "'");