public interface SecurityAttributes
Modifier and Type | Method and Description |
---|---|
SecurityAttribute |
getAttribute(String name) |
SecurityAttribute |
getAttribute(String name,
boolean create)
Returns an existing (predefined typed) attribute or create one if parameter create is true.
|
Map<String,SecurityAttribute> |
getAttributeMap() |
Map<String,SecurityAttribute> |
getAttributeMap(String category) |
Set<String> |
getAttributeNames() |
Set<String> |
getAttributeNames(String category) |
Map<String,SecurityAttribute> |
getInfoAttributeMap() |
Map<String,String> |
getInfoMap() |
JetspeedPrincipal |
getPrincipal() |
SecurityAttributeTypes |
getSecurityAttributeTypes() |
boolean |
isDefinedAttribute(String name) |
boolean |
isExtendable() |
boolean |
isReadOnly() |
void |
removeAttribute(String name) |
int |
size() |
JetspeedPrincipal getPrincipal()
int size()
boolean isReadOnly()
boolean isExtendable()
SecurityAttributeTypes getSecurityAttributeTypes()
boolean isDefinedAttribute(String name)
Map<String,SecurityAttribute> getAttributeMap()
Map<String,SecurityAttribute> getAttributeMap(String category)
Map<String,SecurityAttribute> getInfoAttributeMap()
Map<String,String> getInfoMap()
SecurityAttribute getAttribute(String name)
SecurityAttribute getAttribute(String name, boolean create) throws SecurityException
name
- name of a predefined SecurityAttributeType (for this JetspeedPrincipal type)create
- add the attribute when it doesn't exist yetSecurityException
void removeAttribute(String name) throws SecurityException
SecurityException
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.