|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteResourceAliasManager
RemoteResourceAliasManager is used to manage resource aliases remotely.
Method Summary | |
---|---|
java.util.Vector |
allAssignedGroups(java.lang.String realmName,
java.lang.String submitter)
Retrieves all groups for whom a resource alias tree has been set. |
java.util.Vector |
allAssignedRoles(java.lang.String realmName,
java.lang.String submitter)
Retrieves all roles for whom a resource alias tree has been set. |
java.util.Vector |
allAssignedUsers(java.lang.String realmName,
java.lang.String submitter)
Retrieves all users for whom a resource alias tree has been set. |
void |
deleteAliasOfGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String aliasPath)
Deprecated. getInputStreamForUser(String, String, String) |
void |
deleteAliasOfRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName,
java.lang.String aliasPath)
Deletes a specified alias node from the resource alias tree for a role. |
void |
deleteAliasOfUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String aliasPath)
Deletes a specified alias node from the resource alias tree for a user. |
java.util.Vector |
getAliasesOfGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Gets all alias nodes in the resource alias tree for a specified group. |
java.util.Vector |
getAliasesOfRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Gets all alias nodes in the resource alias tree for a specified role. |
java.util.Vector |
getAliasesOfUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Gets all alias nodes in the resource alias tree for a specified user. |
java.lang.String |
getAllResource(java.lang.String realmName,
java.lang.String submitter)
Deprecated. #getInputStreamForAll(String, String) |
byte[] |
getInputStream(java.lang.String realmName,
java.lang.String submitter)
Gets the input stream of the resource alias tree XML which contains the names of all resources in the server resource tree. |
byte[] |
getInputStreamForGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Gets the input stream of the resource alias tree for a group. |
byte[] |
getInputStreamForRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Gets the input stream of the resource alias tree for a role. |
byte[] |
getInputStreamForUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Gets the input stream of the resource alias tree for a user. |
boolean |
hasAliasOfGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Checks whether a resource alias tree has been set for the group. |
boolean |
hasAliasOfRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Checks whether a resource alias tree has been set for the role. |
boolean |
hasAliasOfUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Checks whether a resource alias tree has been set for the user. |
boolean |
hiddenSubaliasGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String aliasPath)
Checks whether an alias of a group is hidden. |
boolean |
hiddenSubaliasRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName,
java.lang.String aliasPath)
Checks whether an alias of a role is hidden. |
boolean |
hiddenSubaliasUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String aliasPath)
Checks whether an alias of a user is hidden. |
java.lang.String |
refreshAliasOfGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName)
Deprecated. getInputStreamForGroup(String, String, String) |
java.lang.String |
refreshAliasOfRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName)
Deprecated. getInputStreamForRole(String, String, String) |
java.lang.String |
refreshAliasOfUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName)
Refreshes the resource alias tree for a user. |
java.lang.String |
setAliasForGroup(java.lang.String realmName,
java.lang.String submitter,
java.lang.String groupName,
java.lang.String aliasPath,
java.lang.String reaourcePath,
boolean hidden)
Sets resource alias for a group. |
java.lang.String |
setAliasForRole(java.lang.String realmName,
java.lang.String submitter,
java.lang.String roleName,
java.lang.String aliasPath,
java.lang.String reaourcePath,
boolean hidden)
Sets resource alias for a role. |
java.lang.String |
setAliasForUser(java.lang.String realmName,
java.lang.String submitter,
java.lang.String userName,
java.lang.String aliasPath,
java.lang.String reaourcePath,
boolean hidden)
Sets resource alias for a user. |
Method Detail |
---|
java.lang.String setAliasForUser(java.lang.String realmName, java.lang.String submitter, java.lang.String userName, java.lang.String aliasPath, java.lang.String reaourcePath, boolean hidden) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the user who sets the alias. Only administrator can set alias.userName
- the user who is assigned the aliasaliasPath
- the complete alias path in the resource treereaourcePath
- the complete resource path that the alias is mapped tohidden
- the flag of hidden alias
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String setAliasForRole(java.lang.String realmName, java.lang.String submitter, java.lang.String roleName, java.lang.String aliasPath, java.lang.String reaourcePath, boolean hidden) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the user who sets the alias. Only administrator can set alias.roleName
- the role who will be assigned the aliasaliasPath
- the complete alias path in the resource treereaourcePath
- the complete resource path that the alias is mapped tohidden
- the flag of hidden alias
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String setAliasForGroup(java.lang.String realmName, java.lang.String submitter, java.lang.String groupName, java.lang.String aliasPath, java.lang.String reaourcePath, boolean hidden) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the user who sets the alias. Only administrator can set alias.groupName
- the group who will be assigned the aliasaliasPath
- the complete alias path in the resource treereaourcePath
- the complete resource path that the alias is mapped tohidden
- the flag of hidden alias
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean hasAliasOfUser(java.lang.String realmName, java.lang.String submitter, java.lang.String userName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the user who submits the check requestuserName
- the user name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean hasAliasOfRole(java.lang.String realmName, java.lang.String submitter, java.lang.String roleName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameroleName
- the role name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean hasAliasOfGroup(java.lang.String realmName, java.lang.String submitter, java.lang.String groupName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator namegroupName
- the group name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector allAssignedUsers(java.lang.String realmName, java.lang.String submitter) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector allAssignedRoles(java.lang.String realmName, java.lang.String submitter) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector allAssignedGroups(java.lang.String realmName, java.lang.String submitter) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getAliasesOfUser(java.lang.String realmName, java.lang.String submitter, java.lang.String userName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameuserName
- the user name
ResourceAlias
objects
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getAliasesOfRole(java.lang.String realmName, java.lang.String submitter, java.lang.String roleName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameroleName
- the role name
ResourceAlias
objects
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getAliasesOfGroup(java.lang.String realmName, java.lang.String submitter, java.lang.String groupName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator namegroupName
- the group name
ResourceAlias
objects
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean hiddenSubaliasUser(java.lang.String realmName, java.lang.String submitter, java.lang.String userName, java.lang.String aliasPath) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameuserName
- the user namealiasPath
- the alias complete path
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean hiddenSubaliasRole(java.lang.String realmName, java.lang.String submitter, java.lang.String roleName, java.lang.String aliasPath) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameroleName
- the role namealiasPath
- the complete alias path
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean hiddenSubaliasGroup(java.lang.String realmName, java.lang.String submitter, java.lang.String groupName, java.lang.String aliasPath) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator namegroupName
- the group namealiasPath
- the alias complete path
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void deleteAliasOfUser(java.lang.String realmName, java.lang.String submitter, java.lang.String userName, java.lang.String aliasPath) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameuserName
- the user namealiasPath
- the complete alias path
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void deleteAliasOfRole(java.lang.String realmName, java.lang.String submitter, java.lang.String roleName, java.lang.String aliasPath) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameroleName
- the role namealiasPath
- the alias complete path
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void deleteAliasOfGroup(java.lang.String realmName, java.lang.String submitter, java.lang.String groupName, java.lang.String aliasPath) throws java.rmi.RemoteException
getInputStreamForUser(String, String, String)
realmName
- the realm namesubmitter
- operator namegroupName
- the group namealiasPath
- the alias complete path
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String refreshAliasOfUser(java.lang.String realmName, java.lang.String submitter, java.lang.String userName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameuserName
- the user name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.byte[] getInputStreamForUser(java.lang.String realmName, java.lang.String submitter, java.lang.String userName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameuserName
- the user name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String refreshAliasOfRole(java.lang.String realmName, java.lang.String submitter, java.lang.String roleName) throws java.rmi.RemoteException
getInputStreamForRole(String, String, String)
realmName
- the realm namesubmitter
- the operator nameroleName
- the role name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.byte[] getInputStreamForRole(java.lang.String realmName, java.lang.String submitter, java.lang.String roleName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator nameroleName
- the role name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String refreshAliasOfGroup(java.lang.String realmName, java.lang.String submitter, java.lang.String groupName) throws java.rmi.RemoteException
getInputStreamForGroup(String, String, String)
realmName
- the realm namesubmitter
- the operator namegroupName
- the group name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.byte[] getInputStreamForGroup(java.lang.String realmName, java.lang.String submitter, java.lang.String groupName) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator namegroupName
- the group name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String getAllResource(java.lang.String realmName, java.lang.String submitter) throws java.rmi.RemoteException
#getInputStreamForAll(String, String)
realmName
- the realm namesubmitter
- the operator name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.byte[] getInputStream(java.lang.String realmName, java.lang.String submitter) throws java.rmi.RemoteException
realmName
- the realm namesubmitter
- the operator name
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |