|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityAccess
SecurityAccess
Method Summary | |
---|---|
InternalGroupPrincipal |
getInternalGroupPrincipal(java.lang.String groupFullPathName)
Returns the InternalGroupPrincipal from the group full path name. |
java.util.Iterator |
getInternalGroupPrincipals(java.lang.String filter)
Returns a InternalGroupPrincipal collection of Group given the filter. |
InternalRolePrincipal |
getInternalRolePrincipal(java.lang.String roleFullPathName)
Returns the InternalRolePrincipal from the role full path name. |
java.util.Iterator |
getInternalRolePrincipals(java.lang.String filter)
Returns a InternalRolePrincipal collection given the filter. |
InternalUserPrincipal |
getInternalUserPrincipal(java.lang.String username)
Returns the InternalUserPrincipal from the user name. |
InternalUserPrincipal |
getInternalUserPrincipal(java.lang.String username,
boolean isMappingOnly)
Returns the InternalUserPrincipal from the user name. |
java.util.Iterator |
getInternalUserPrincipals(java.lang.String filter)
Returns a InternalUserPrincipal collection given the filter. |
boolean |
isKnownUser(java.lang.String username)
Returns if a Internal UserPrincipal is defined for the user name. |
void |
removeInternalGroupPrincipal(InternalGroupPrincipal internalGroup)
Remove the given InternalGroupPrincipal . |
void |
removeInternalRolePrincipal(InternalRolePrincipal internalRole)
Remove the given InternalRolePrincipal . |
void |
removeInternalUserPrincipal(InternalUserPrincipal internalUser)
Remove the given InternalUserPrincipal . |
void |
setInternalGroupPrincipal(InternalGroupPrincipal internalGroup,
boolean isMappingOnly)
Sets the given InternalGroupPrincipal . |
void |
setInternalRolePrincipal(InternalRolePrincipal internalRole,
boolean isMappingOnly)
Sets the given InternalRolePrincipal . |
void |
setInternalUserPrincipal(InternalUserPrincipal internalUser,
boolean isMappingOnly)
Sets the given InternalUserPrincipal . |
Method Detail |
---|
boolean isKnownUser(java.lang.String username)
Returns if a Internal UserPrincipal is defined for the user name.
username
- The user name.
InternalUserPrincipal getInternalUserPrincipal(java.lang.String username)
Returns the InternalUserPrincipal
from the user name.
username
- The user name.
InternalUserPrincipal
.InternalUserPrincipal getInternalUserPrincipal(java.lang.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
.java.util.Iterator getInternalUserPrincipals(java.lang.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(java.lang.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(java.lang.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
.java.util.Iterator getInternalRolePrincipals(java.lang.String filter)
Returns a InternalRolePrincipal
collection given the filter.
filter
- The filter.
InternalRolePrincipal
.java.util.Iterator getInternalGroupPrincipals(java.lang.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 |