org.opencrx.application.adapter
Class AbstractSession
java.lang.Object
org.opencrx.application.adapter.AbstractSession
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- IMAPSession, LDAPSession
public abstract class AbstractSession
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
PASSWORD_ENCODING_ALGORITHM
public static final String PASSWORD_ENCODING_ALGORITHM
- See Also:
- Constant Field Values
server
protected final AbstractServer server
socket
protected Socket socket
username
protected String username
segmentName
protected String segmentName
AbstractSession
public AbstractSession(Socket client,
AbstractServer server)
stop
public void stop()
newPersistenceManager
public static javax.jdo.PersistenceManager newPersistenceManager(javax.jdo.PersistenceManagerFactory pmf,
String username)
login
protected boolean login(String username,
String password)
logout
protected void logout()
This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.