@Service public class SecurityCommands extends Object implements org.springframework.roo.shell.CommandMarker
| Constructor and Description |
|---|
SecurityCommands() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
void |
authorizeOperation(org.springframework.roo.model.JavaType klass,
String methodName,
String roles,
String usernames) |
void |
filterOperation(org.springframework.roo.model.JavaType klass,
String methodName,
String roles,
String usernames,
String when) |
List<String> |
getAllMethodsRelatedWithProvidedClassForAuthorize(org.springframework.roo.shell.ShellContext context) |
List<String> |
getAllMethodsRelatedWithProvidedClassForFiltering(org.springframework.roo.shell.ShellContext context) |
List<String> |
getAllSecurityProviders(org.springframework.roo.shell.ShellContext context) |
List<String> |
getAllServiceClassesAndInterfacesForAuthorize(org.springframework.roo.shell.ShellContext context) |
List<String> |
getAllServiceClassesAndInterfacesForFiltering(org.springframework.roo.shell.ShellContext context) |
org.springframework.roo.shell.Converter<org.springframework.roo.model.JavaType> |
getJavaTypeConverter() |
List<String> |
getWhenOptions(org.springframework.roo.shell.ShellContext context) |
void |
installSecurity(String type,
org.springframework.roo.project.maven.Pom module) |
boolean |
isAuthorizeOperationAvailable() |
boolean |
isFilteringOperationAvailable() |
boolean |
isInstallSecurityAvailable() |
boolean |
isModuleRequired(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isModuleVisible(org.springframework.roo.shell.ShellContext shellContext) |
protected void activate(org.osgi.service.component.ComponentContext context)
public boolean isInstallSecurityAvailable()
public boolean isModuleVisible(org.springframework.roo.shell.ShellContext shellContext)
public boolean isModuleRequired(org.springframework.roo.shell.ShellContext shellContext)
public List<String> getAllSecurityProviders(org.springframework.roo.shell.ShellContext context)
public void installSecurity(String type, org.springframework.roo.project.maven.Pom module)
public boolean isAuthorizeOperationAvailable()
public List<String> getAllServiceClassesAndInterfacesForAuthorize(org.springframework.roo.shell.ShellContext context)
public List<String> getAllMethodsRelatedWithProvidedClassForAuthorize(org.springframework.roo.shell.ShellContext context)
public void authorizeOperation(org.springframework.roo.model.JavaType klass,
String methodName,
String roles,
String usernames)
public boolean isFilteringOperationAvailable()
public List<String> getAllServiceClassesAndInterfacesForFiltering(org.springframework.roo.shell.ShellContext context)
public List<String> getAllMethodsRelatedWithProvidedClassForFiltering(org.springframework.roo.shell.ShellContext context)
public List<String> getWhenOptions(org.springframework.roo.shell.ShellContext context)
public void filterOperation(org.springframework.roo.model.JavaType klass,
String methodName,
String roles,
String usernames,
String when)
public org.springframework.roo.shell.Converter<org.springframework.roo.model.JavaType> getJavaTypeConverter()
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.