@Alternative @ApplicationScoped public class CliIdentity extends Object implements org.uberfire.security.Identity
Constructor and Description |
---|
CliIdentity() |
Modifier and Type | Method and Description |
---|---|
void |
aggregateProperty(String name,
String value) |
String |
getName() |
Map<String,String> |
getProperties() |
String |
getProperty(String name,
String defaultValue) |
List<org.uberfire.security.Role> |
getRoles() |
boolean |
hasRole(org.uberfire.security.Role role) |
void |
removeProperty(String name) |
void |
setup() |
@PostConstruct public void setup()
public String getName()
getName
in interface org.uberfire.security.auth.Principal
public boolean hasRole(org.uberfire.security.Role role)
hasRole
in interface org.uberfire.security.Subject
public List<org.uberfire.security.Role> getRoles()
getRoles
in interface org.uberfire.security.Subject
public Map<String,String> getProperties()
getProperties
in interface org.uberfire.security.Subject
public void aggregateProperty(String name, String value)
aggregateProperty
in interface org.uberfire.security.Subject
public void removeProperty(String name)
removeProperty
in interface org.uberfire.security.Subject
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.