Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.api.ws.session.impl
Class WSRemotingSessionImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.api.ws.session.impl.WSRemotingSessionImpl
All Implemented Interfaces:
WSRemotingSession

public class WSRemotingSessionImpl
extends Object
implements WSRemotingSession

Web service remoting session implementation.

Author:
Julien Anguenot

Constructor Summary
WSRemotingSessionImpl(CoreSession session, UserManager um, String repository, String username, String password)
           
 
Method Summary
 CoreSession getDocumentManager()
          Returns the document manager bound to the session.
 String getPassword()
          Returns the user password bound to the session
 String getRepository()
          Returns the repository bound to the session.
 UserManager getUserManager()
          Returns the user manager bound to the session.
 String getUsername()
          Returns the user name bound to the session.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSRemotingSessionImpl

public WSRemotingSessionImpl(CoreSession session,
                             UserManager um,
                             String repository,
                             String username,
                             String password)
Method Detail

getDocumentManager

public CoreSession getDocumentManager()
Description copied from interface: WSRemotingSession
Returns the document manager bound to the session.

Specified by:
getDocumentManager in interface WSRemotingSession
Returns:
a CoreSession instance.

getPassword

public String getPassword()
Description copied from interface: WSRemotingSession
Returns the user password bound to the session

Note the password is clear.

Specified by:
getPassword in interface WSRemotingSession
Returns:
the user password as a string.

getRepository

public String getRepository()
Description copied from interface: WSRemotingSession
Returns the repository bound to the session.

Specified by:
getRepository in interface WSRemotingSession
Returns:
the repository name

getUserManager

public UserManager getUserManager()
Description copied from interface: WSRemotingSession
Returns the user manager bound to the session.

Specified by:
getUserManager in interface WSRemotingSession

getUsername

public String getUsername()
Description copied from interface: WSRemotingSession
Returns the user name bound to the session.

Specified by:
getUsername in interface WSRemotingSession
Returns:
the user name as a string.

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.