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