Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client
Class LoginInfo

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.LoginInfo
All Implemented Interfaces:
Serializable

public class LoginInfo
extends Object
implements Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
static LoginInfo ANONYNMOUS
           
 
Constructor Summary
LoginInfo(String username)
           
LoginInfo(String username, Set<String> groups)
           
LoginInfo(String username, Set<String> groups, boolean isAdministrator)
           
 
Method Summary
 String[] getGroups()
           
 String getUsername()
           
 boolean hasGroup(String group)
           
 boolean isAdministrator()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANONYNMOUS

public static final LoginInfo ANONYNMOUS
Constructor Detail

LoginInfo

public LoginInfo(String username)

LoginInfo

public LoginInfo(String username,
                 Set<String> groups)

LoginInfo

public LoginInfo(String username,
                 Set<String> groups,
                 boolean isAdministrator)
Method Detail

isAdministrator

public boolean isAdministrator()

getUsername

public String getUsername()

getGroups

public String[] getGroups()

hasGroup

public boolean hasGroup(String group)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.