Package org.jboss.security.config
Class BaseSecurityInfo<T>
- java.lang.Object
-
- org.jboss.security.config.BaseSecurityInfo<T>
-
- Type Parameters:
T
-
- Direct Known Subclasses:
ACLInfo
,AuditInfo
,AuthorizationInfo
,BaseAuthenticationInfo
,IdentityTrustInfo
,MappingInfo
public abstract class BaseSecurityInfo<T> extends Object
Base Class of the security info- Since:
- Sep 27, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
-
-
Field Summary
Fields Modifier and Type Field Description static AuthPermission
GET_CONFIG_ENTRY_PERM
protected List<String>
jbossModuleNames
New implementation - allow the specification of multiple jboss module names.protected List<T>
moduleEntries
protected String
name
static AuthPermission
SET_CONFIG_ENTRY_PERM
-
Constructor Summary
Constructors Constructor Description BaseSecurityInfo()
BaseSecurityInfo(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
add(List<? extends T> moduleEntries)
void
add(T ame)
void
addJBossModuleName(String jbossModuleName)
Adds a new jboss module name.protected abstract BaseSecurityInfo<T>
create(String name)
String
getJBossModuleName()
Deprecated.List<String>
getJBossModuleNames()
Obtains the list of all configured jboss module names.List<T>
getModuleEntries()
String
getName()
BaseSecurityInfo<T>
merge(BaseSecurityInfo<T> bi)
void
setJBossModuleName(String jbossModuleName)
Deprecated.void
setName(String name)
-
-
-
Field Detail
-
GET_CONFIG_ENTRY_PERM
public static final AuthPermission GET_CONFIG_ENTRY_PERM
-
SET_CONFIG_ENTRY_PERM
public static final AuthPermission SET_CONFIG_ENTRY_PERM
-
name
protected String name
-
-
Constructor Detail
-
BaseSecurityInfo
public BaseSecurityInfo()
-
BaseSecurityInfo
public BaseSecurityInfo(String name)
-
-
Method Detail
-
add
public void add(T ame)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getJBossModuleName
@Deprecated public String getJBossModuleName()
Deprecated.Get the name of the JBoss Module- Returns:
-
setJBossModuleName
@Deprecated public void setJBossModuleName(String jbossModuleName)
Deprecated.Set the name of the JBoss Module- Parameters:
jbossModuleName
-
-
getJBossModuleNames
public List<String> getJBossModuleNames()
Obtains the list of all configured jboss module names.- Returns:
- the
List
containing all configured jboss module names.
-
addJBossModuleName
public void addJBossModuleName(String jbossModuleName)
Adds a new jboss module name.- Parameters:
jbossModuleName
- the name of the module to be added.
-
create
protected abstract BaseSecurityInfo<T> create(String name)
-
merge
public BaseSecurityInfo<T> merge(BaseSecurityInfo<T> bi)
-
-