|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityAccess
SecurityAccess
Method Detail |
---|
boolean isKnownUser(String username)
Returns if a Internal UserPrincipal is defined for the user name.
username
- The user name.
InternalUserPrincipal getInternalUserPrincipal(String username)
Returns the InternalUserPrincipal
from the user name.
username
- The user name.
InternalUserPrincipal
.InternalUserPrincipal getInternalUserPrincipal(String username, boolean isMappingOnly)
Returns the InternalUserPrincipal
from the user name.
username
- The user name.isMappingOnly
- Whether a principal's purpose is for security mappping only.
InternalUserPrincipal
.Iterator getInternalUserPrincipals(String filter)
Returns a InternalUserPrincipal
collection given the filter.
filter
- The filter.
InternalUserPrincipal
.void setInternalUserPrincipal(InternalUserPrincipal internalUser, boolean isMappingOnly) throws SecurityException
Sets the given InternalUserPrincipal
.
internalUser
- The InternalUserPrincipal
.isMappingOnly
- Whether a principal's purpose is for security mappping only.
SecurityException
- Throws a SecurityException
.void removeInternalUserPrincipal(InternalUserPrincipal internalUser) throws SecurityException
Remove the given InternalUserPrincipal
.
internalUser
- The InternalUserPrincipal
.
SecurityException
- Throws a SecurityException
.InternalRolePrincipal getInternalRolePrincipal(String roleFullPathName)
Returns the InternalRolePrincipal
from the role full path name.
roleFullPathName
- The role full path name.
InternalRolePrincipal
.void setInternalRolePrincipal(InternalRolePrincipal internalRole, boolean isMappingOnly) throws SecurityException
Sets the given InternalRolePrincipal
.
internalRole
- The InternalRolePrincipal
.isMappingOnly
- Whether a principal's purpose is for security mappping only.
SecurityException
- Throws a SecurityException
.void removeInternalRolePrincipal(InternalRolePrincipal internalRole) throws SecurityException
Remove the given InternalRolePrincipal
.
internalRole
- The InternalRolePrincipal
.
SecurityException
- Throws a SecurityException
.InternalGroupPrincipal getInternalGroupPrincipal(String groupFullPathName)
Returns the InternalGroupPrincipal
from the group full path name.
groupFullPathName
- The group full path name.
InternalGroupPrincipal
.void setInternalGroupPrincipal(InternalGroupPrincipal internalGroup, boolean isMappingOnly) throws SecurityException
Sets the given InternalGroupPrincipal
.
internalGroup
- The InternalGroupPrincipal
.isMappingOnly
- Whether a principal's purpose is for security mappping only.
SecurityException
- Throws a SecurityException
.void removeInternalGroupPrincipal(InternalGroupPrincipal internalGroup) throws SecurityException
Remove the given InternalGroupPrincipal
.
internalGroup
- The InternalGroupPrincipal
.
SecurityException
- Throws a SecurityException
.Iterator getInternalRolePrincipals(String filter)
Returns a InternalRolePrincipal
collection given the filter.
filter
- The filter.
InternalRolePrincipal
.Iterator getInternalGroupPrincipals(String filter)
Returns a InternalGroupPrincipal
collection of Group given the filter.
filter
- The filter.
InternalGroupPrincipal
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |