Class GcAssignGrouperPrivileges
java.lang.Object
edu.internet2.middleware.grouperClient.api.GcAssignGrouperPrivileges
class to run a assign grouper privileges web service call
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd a param to the listadd a param to the listaddPrivilegeName
(String thePrivilegeName) assign the privilege name to queryaddSubjectAttributeName
(String subjectAttributeName) addSubjectLookup
(WsSubjectLookup wsSubjectLookup) add a subject lookupassignActAsSubject
(WsSubjectLookup theActAsSubject) assign the act as subject if anyassignAllowed
(boolean isAllowed) assign if allowedassignClientVersion
(String theClientVersion) assign client versionassignGroupLookup
(WsGroupLookup theWsGroupLookup) set the group nameassignIncludeGroupDetail
(Boolean theIncludeGroupDetail) assign if the group detail should be includedassignIncludeSubjectDetail
(Boolean theIncludeSubjectDetail) if should include subject detailassignPrivilegeType
(String thePrivilegeType) assign privilege typeassignReplaceAllExisting
(Boolean isReplaceAllExisting) set if we should replace all existing members with new listassignStemLookup
(WsStemLookup theStemLookup) set the stem name to query privsassignTxType
(GcTransactionType gcTransactionType) assign the tx typeassignWsEndpoint
(String theWsEndpoint) endpoint to grouper WS, e.g.assignWsPass
(String theWsPass) ws passassignWsPassEncrypted
(String theWsPassEncrypted) ws passassignWsPassFile
(File theFile) ws passassignWsPassFileEncrypted
(File theFile) ws passassignWsUser
(String theWsUser) ws userexecute()
execute the call and return the results.
-
Constructor Details
-
GcAssignGrouperPrivileges
public GcAssignGrouperPrivileges()
-
-
Method Details
-
assignWsEndpoint
endpoint to grouper WS, e.g. https://server.school.edu/grouper-ws/servicesRest- Parameters:
theWsEndpoint
-- Returns:
- this for chaining
-
assignWsUser
ws user- Parameters:
theWsUser
-- Returns:
- this for chaining
-
assignWsPass
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassEncrypted
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassFile
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassFileEncrypted
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignAllowed
assign if allowed- Parameters:
isAllowed
-- Returns:
- this for chaining
-
assignPrivilegeType
assign privilege type- Parameters:
thePrivilegeType
-- Returns:
- this for chaining
-
addPrivilegeName
assign the privilege name to query- Parameters:
thePrivilegeName
-- Returns:
- this for chaining
-
assignGroupLookup
set the group name- Parameters:
theWsGroupLookup
-- Returns:
- this for chaining
-
assignStemLookup
set the stem name to query privs- Parameters:
theStemLookup
-- Returns:
- this for chaining
-
addParam
add a param to the list- Parameters:
paramName
-paramValue
-- Returns:
- this for chaining
-
addParam
add a param to the list- Parameters:
wsParam
-- Returns:
- this for chaining
-
addSubjectLookup
add a subject lookup- Parameters:
wsSubjectLookup
-- Returns:
- this for chaining
-
assignActAsSubject
assign the act as subject if any- Parameters:
theActAsSubject
-- Returns:
- this for chaining
-
addSubjectAttributeName
- Parameters:
subjectAttributeName
-- Returns:
- this for chaining
-
assignIncludeGroupDetail
assign if the group detail should be included- Parameters:
theIncludeGroupDetail
-- Returns:
- this for chaining
-
assignIncludeSubjectDetail
if should include subject detail- Parameters:
theIncludeSubjectDetail
-- Returns:
- this for chaining
-
assignTxType
assign the tx type- Parameters:
gcTransactionType
-- Returns:
- self for chaining
-
assignClientVersion
assign client version- Parameters:
theClientVersion
-- Returns:
- this for chaining
-
assignReplaceAllExisting
set if we should replace all existing members with new list- Parameters:
isReplaceAllExisting
-- Returns:
- this for chaining
-
execute
execute the call and return the results. If there is a problem calling the service, an exception will be thrown- Returns:
- the results
-