|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoginService
Method Summary | |
---|---|
void |
addSecurityDomain(SecurityDomain domain)
|
SecurityDomain |
getSecurityDomain(String name)
|
SecurityDomain[] |
getSecurityDomains()
|
boolean |
isSystemId(Principal principal)
|
LoginContext |
login()
System login, using a private principal that has all privileges. |
LoginContext |
login(CallbackHandler cbHandler)
Client login using a custom callback handler to retrieve login info. |
LoginContext |
login(String username,
Object credentials)
Client login using the given username and password. |
LoginContext |
loginAs(String username)
System login, using a private principal that has all privileges. |
void |
removeSecurityDomain(String name)
|
void |
removeSecurityDomains()
|
Method Detail |
---|
LoginContext login() throws LoginException
The method requires the caller to have the SystemLoginPermission
permission.
LoginException
LoginContext loginAs(String username) throws LoginException
The method requires the caller to have the SystemLoginPermission
permission.
username
- the username that originated the system login
LoginException
LoginContext login(String username, Object credentials) throws LoginException
LoginException
LoginContext login(CallbackHandler cbHandler) throws LoginException
cbHandler
- the callback handler to use to retrieve the login info
LoginException
SecurityDomain getSecurityDomain(String name)
void addSecurityDomain(SecurityDomain domain)
boolean isSystemId(Principal principal)
void removeSecurityDomain(String name)
SecurityDomain[] getSecurityDomains()
void removeSecurityDomains()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |