@Component(value="cuba_SecurityScopes")
public class SecurityScopes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Messages |
messages |
static java.lang.String |
NAME |
protected java.util.Set<SecurityScope> |
securityScopes |
protected ServerConfig |
serverConfig |
Constructor and Description |
---|
SecurityScopes() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SecurityScope> |
getAvailableSecurityScopes()
Represents list of all available security scopes for all client types.
|
protected void |
init() |
void |
registerScope(SecurityScope securityScope)
Register a new security scope
|
public static final java.lang.String NAME
@Inject protected ServerConfig serverConfig
@Inject protected Messages messages
protected java.util.Set<SecurityScope> securityScopes
@PostConstruct protected void init()
public java.util.Collection<SecurityScope> getAvailableSecurityScopes()
public void registerScope(SecurityScope securityScope)