@ApplicationScoped public class CommandLineAuthService extends Object implements org.jboss.errai.security.shared.service.AuthenticationService
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.errai.security.shared.api.identity.User |
PLACEHOLDER |
| Constructor and Description |
|---|
CommandLineAuthService() |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.errai.security.shared.api.identity.User |
getUser() |
boolean |
isLoggedIn() |
org.jboss.errai.security.shared.api.identity.User |
login(String username,
String password) |
void |
logout() |
public static final org.jboss.errai.security.shared.api.identity.User PLACEHOLDER
public org.jboss.errai.security.shared.api.identity.User login(String username, String password)
login in interface org.jboss.errai.security.shared.service.AuthenticationServicepublic boolean isLoggedIn()
isLoggedIn in interface org.jboss.errai.security.shared.service.AuthenticationServicepublic void logout()
logout in interface org.jboss.errai.security.shared.service.AuthenticationServicepublic org.jboss.errai.security.shared.api.identity.User getUser()
getUser in interface org.jboss.errai.security.shared.service.AuthenticationServiceCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.