Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.api.login
Interface LoginAs

All Known Implementing Classes:
LoginAsImpl

public interface LoginAs

This service is performing a login under another identity without checking the password.

You must never use this service explicitly in your code since it may be removed in future. Instead you should use Framework.loginAsUser(String)

Implementors must implement this interface and expose the implementation as a Nuxeo service.

Since:
5.4.0.2
Author:
Bogdan Stefanescu

Method Summary
 LoginContext loginAs(String username)
          Perform the Login As.
 

Method Detail

loginAs

LoginContext loginAs(String username)
                     throws LoginException
Perform the Login As.

Parameters:
username -
Returns:
Throws:
LoginException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.