public interface PermissionTypeRegistry
Modifier and Type | Method and Description |
---|---|
PermissionType |
get(String type)
Get a previously registed permission type given its unique identifier.
|
void |
register(PermissionType type)
Register a permission type.
|
PermissionType |
resolve(String name)
Get the first permission type that matches the given name.
|
void register(PermissionType type)
PermissionType.getType()
is used as a unique key within the registry.PermissionType get(String type)
PermissionType resolve(String name)
It's always up to every permission type to define what are the valid format for its permission names.
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.