public class SpatialDataSourcePermissionsConfigInfos extends PermissionsConfigInfos
Modifier and Type | Field and Description |
---|---|
protected java.util.List<SpatialDataSourceInfo> |
spatialDataSourceInfos |
Constructor and Description |
---|
SpatialDataSourcePermissionsConfigInfos(SpatialDataSourceController dataSourceController,
Acl[] acls,
java.util.List<SpatialDataSourceInfo> spatialDataSourceInfos) |
SpatialDataSourcePermissionsConfigInfos(SpatialDataSourceController dataSourceController,
SpatialDataSourceInfo spatialDataSourceInfo) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.security.acl.Permission> |
getAvailablePermissions() |
java.util.List<java.security.Principal> |
getAvailablePrincipals() |
java.util.List<java.security.acl.Permission> |
getDefaultPermissions() |
java.util.List<java.security.acl.Permission> |
getInheritedPermission(java.security.acl.Permission permission)
Returns a list of inherited permissions.
|
java.util.List<BreadCrumbItem> |
getLocalizedBreadCrumbItems(javax.servlet.http.HttpServletRequest httpRequest) |
java.lang.String |
getLocalizedPageTitle(javax.servlet.http.HttpServletRequest httpRequest) |
java.lang.String |
getLocalizedPermission(java.security.acl.Permission permission,
javax.servlet.http.HttpServletRequest httpRequest) |
java.util.List<SectionItem> |
getLocalizedSectionItems(javax.servlet.http.HttpServletRequest httpRequest)
If this method returns items, a drop down button (named Sections) will be
added.
|
java.util.List<java.security.acl.Permission> |
getOwnerDefaultPermissions()
Returns a list of permissions that new owners will get by default.
|
java.lang.Runnable |
getUpdatePermissionsCallback() |
boolean |
isEveryoneGroupAvailable() |
boolean |
isOwnersEditable(AclController aclController)
Checks if owners can be added or removed.
|
boolean |
isPermissionEditable(java.security.acl.Permission permission,
Acl acl,
java.util.List<java.security.Principal> selectedPrincipals,
AclController aclController)
Checks if a permission is editable.
|
boolean |
isPermissionRequireAdminAccess(java.security.acl.Permission permission)
Checks if the specified permission require access to JMap Admin.
|
getAcls, getLocalizedOwnersTabName, isOwnerEditable, isReadOnly, isRemovePrincipalDisabled, searchPrincipals
protected java.util.List<SpatialDataSourceInfo> spatialDataSourceInfos
public SpatialDataSourcePermissionsConfigInfos(SpatialDataSourceController dataSourceController, SpatialDataSourceInfo spatialDataSourceInfo)
public SpatialDataSourcePermissionsConfigInfos(SpatialDataSourceController dataSourceController, Acl[] acls, java.util.List<SpatialDataSourceInfo> spatialDataSourceInfos)
public java.lang.String getLocalizedPageTitle(javax.servlet.http.HttpServletRequest httpRequest)
getLocalizedPageTitle
in class PermissionsConfigInfos
public java.util.List<BreadCrumbItem> getLocalizedBreadCrumbItems(javax.servlet.http.HttpServletRequest httpRequest)
getLocalizedBreadCrumbItems
in class PermissionsConfigInfos
public java.lang.String getLocalizedPermission(java.security.acl.Permission permission, javax.servlet.http.HttpServletRequest httpRequest)
getLocalizedPermission
in class PermissionsConfigInfos
public java.util.List<SectionItem> getLocalizedSectionItems(javax.servlet.http.HttpServletRequest httpRequest)
PermissionsConfigInfos
getLocalizedSectionItems
in class PermissionsConfigInfos
public boolean isEveryoneGroupAvailable()
isEveryoneGroupAvailable
in class PermissionsConfigInfos
public java.util.List<java.security.acl.Permission> getAvailablePermissions()
getAvailablePermissions
in class PermissionsConfigInfos
public java.util.List<java.security.acl.Permission> getDefaultPermissions()
getDefaultPermissions
in class PermissionsConfigInfos
public java.util.List<java.security.Principal> getAvailablePrincipals()
getAvailablePrincipals
in class PermissionsConfigInfos
public boolean isOwnersEditable(AclController aclController)
PermissionsConfigInfos
false
.isOwnersEditable
in class PermissionsConfigInfos
public java.util.List<java.security.acl.Permission> getOwnerDefaultPermissions()
PermissionsConfigInfos
null
getOwnerDefaultPermissions
in class PermissionsConfigInfos
public java.util.List<java.security.acl.Permission> getInheritedPermission(java.security.acl.Permission permission)
PermissionsConfigInfos
getInheritedPermission
in class PermissionsConfigInfos
public boolean isPermissionRequireAdminAccess(java.security.acl.Permission permission)
PermissionsConfigInfos
com.kheops.jmap.server.security.Permission.Type.ADMINISTRATION
will return true.isPermissionRequireAdminAccess
in class PermissionsConfigInfos
public java.lang.Runnable getUpdatePermissionsCallback()
getUpdatePermissionsCallback
in class PermissionsConfigInfos
public boolean isPermissionEditable(java.security.acl.Permission permission, Acl acl, java.util.List<java.security.Principal> selectedPrincipals, AclController aclController)
PermissionsConfigInfos
isPermissionEditable
in class PermissionsConfigInfos