public class SignatureService extends AppService implements SignatureServiceRemote, MboConstants
Run-time privileges for active users are handled in memory by the SecurityService and the UserInfo and Profile classes. The contents of the security profile are derived from some of the Mbos in the Signature package (MaxGroup, MaxUser, ApplicationAuth, etc.).
SecurityService,
UserInfo,
ProfilecurrentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlPSWD_ALREADY_EXPIRED, PSWD_EXPIRES_LATER_TODAY, PSWD_NO_EXPIRATIONALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USERAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
SignatureService()
Call
SignatureCache init. |
SignatureService(MXServer mxServer)
Call
SignatureCache init. |
| Modifier and Type | Method and Description |
|---|---|
void |
activateUser(java.lang.String userID,
java.lang.String memo,
UserInfo userInfo) |
void |
addLoginTracking(java.lang.String userID,
boolean attemptResult,
UserInfo userInfo)
Add mbo to LoginTracking reflecting the successful or unsuccessful login, and save.
|
void |
addLoginTracking(java.lang.String userID,
boolean attemptResult,
UserInfo userInfo,
java.lang.String app,
java.lang.String reason,
java.lang.String transid,
java.lang.String[] keyvalue)
Deprecated.
See Harrier Esig spec
|
void |
addLoginTracking(java.lang.String userID,
boolean attemptResult,
UserInfo userInfo,
java.lang.String app,
java.lang.String reason,
java.lang.String transid,
java.lang.String[] keyvalue,
java.lang.String ownerTable,
java.lang.String ownerId)
Deprecated.
See Harrier Esig spec
|
boolean |
allowedWithLDAP(java.lang.String app,
java.lang.String optionname)
Some combinations of app + optionname are not allowed to be turned on in Security Groups app
when LDAP is on.
|
void |
applyDefaultTemplate(MboRemote maxGroup,
java.lang.String app)
Apply default Security template to Security Group.
|
void |
applyUserQueryList(MboSetRemote msr,
java.lang.String queryName,
java.lang.String owner,
java.lang.String app,
boolean complete) |
boolean |
canChangePassword(java.lang.String userID,
UserInfo userInfo)
Can this session user change the password of the specified userID?
|
void |
deleteUserPref(java.lang.String varname,
UserInfo userInfo)
Delete a mbo from UserPref for the specified user and varname.
|
java.lang.String |
generatePassword(java.lang.String userID,
UserInfo userInfo)
Call
generatePassword
with the MboRemote parameter null. |
java.lang.String |
generatePassword(java.lang.String userID,
UserInfo userInfo,
MboRemote mbo)
Generate a pseudo-random value for password.
|
java.util.HashSet |
getAlsoSigoption(boolean alsoGrants,
MboRemote mbo,
MboSetRemote sigoSet1,
MboSetRemote sigoSet2,
MboSetRemote sigoSet3)
Get "alsogrants" or "alsorevokes", and anything one level deep that's "also" granted/revoked.
|
MboSetRemote |
getAppsForModuleAndUser(java.lang.String module,
UserInfo userInfo)
Get the set of applications (MaxApps) within a given module (via MaxMenu)
where the user has some form of authorization to run the application
and the application is not hidden.
|
java.lang.String |
getEveryoneGroup(UserInfo userInfo)
Get the default value for the "Everyone" security group to use when adding a new user.
|
LaborRemote |
getLaborForUserAndOrg(java.lang.String userID,
java.lang.String orgid,
UserInfo userInfo)
Get the Labor mbo for the given UserID and orgid.
|
LaborRemote |
getLaborForUserAndSite(java.lang.String userID,
java.lang.String siteid,
UserInfo userInfo)
Get the Labor mbo for the given userID and siteid.
|
java.util.TreeMap |
getModuleMap(UserInfo userInfo)
Get the map of modules and apps for this user, from maxmenu table.
|
java.lang.String |
getNewUserGroup(UserInfo userInfo)
Get the default value for the security group to use when adding a new user.
|
MboSetRemote |
getQueriesForUser(java.lang.String appName,
UserInfo userInfo)
Get the set of queries that this user is allowed to execute.
|
java.util.TreeMap |
getQueryMap(MboSetRemote querySet)
Given a set of Query, reformat it as TreeMap.
|
java.lang.String |
getQuerySql(java.lang.String clauseName,
java.lang.String appName,
UserInfo userInfo)
Given the clausename and app name, what is the SQL for that Query?
Strips out the word "Where" if present.
|
SignatureCache |
getSigCache() |
java.lang.String[] |
getSiteAdminWhere(MboSetRemote mboSet,
java.lang.String app)
For the Users app and the Security Groups app, if the logon user is a "site administrator", then return
the Where clause for the main MboSet (maxuser or maxgroup).
|
java.util.TreeMap[] |
getUserAuthForApp(java.lang.String appName,
UserInfo userInfo)
Get the following:
Menu options for this application and user (element 0).
|
java.lang.String |
getUserPref(java.lang.String varname,
UserInfo userInfo)
Given the userpref.varname, what is the varvalue for the current user?
|
boolean |
hasPasswordExpired(java.lang.String loginID,
UserInfo userInfo)
Determine whether the user's password has expired.
|
boolean |
isActive(java.lang.String userID,
UserInfo userInfo)
Is this user active?
|
boolean |
isActiveSite(java.lang.String siteID)
Check whether the specified site is active or not.
|
boolean |
isBlocked(java.lang.String userID,
UserInfo userInfo)
Is this user blocked?
|
boolean |
isValidSite(UserInfo userInfo,
java.lang.String siteId)
Identifies whether the specified site is valid for the specified user.
|
int |
passwordWillExpire(java.lang.String loginID,
UserInfo userInfo)
Determine number of days until the users's password expires.
|
void |
refreshUserCont(UserInfo userInfo)
Refresh count for all user queries.
|
void |
refreshUserConts(MboRemote userQuery)
Refresh count for one User Query.
|
MboSetRemote |
setActive(java.lang.String userID,
java.lang.String memo,
UserInfo userInfo)
Set this user to Active status.
|
void |
setAuthorized(boolean authorized,
MboRemote mbo,
MboSetRemote sigoSet1,
MboSetRemote sigoSet2,
MboSetRemote sigoSet3)
Called from Security Groups app.
|
MboSetRemote |
setBlocked(java.lang.String userID,
java.lang.String memo,
UserInfo userInfo)
Set this user to Blocked status.
|
void |
setUserPref(java.lang.String varname,
java.lang.String varvalue,
UserInfo userInfo)
Insert or update a mbo from UserPref for the specified user and varname.
|
boolean |
showPasswordWarning(java.lang.String loginID,
UserInfo userInfo)
Determine whether a warning should be displayed that a user's password will soon expire.
|
boolean |
testForcePasswordChange(java.lang.String userID,
UserInfo userInfo)
Determine whether the user's password is forced to be changed at the next login.
|
void |
validateAuthorized(boolean authorized,
MboRemote mbo,
MboSetRemote sigoSet1,
MboSetRemote sigoSet2,
MboSetRemote sigoSet3)
Called from Security Groups app.
|
void |
validatePassword(java.lang.String userID,
java.lang.String checkString,
UserInfo userInfo)
Call
validatePassword
with the MboRemote parameter null. |
void |
validatePassword(java.lang.String userID,
java.lang.String checkString,
UserInfo userInfo,
MboRemote mbo)
For validating Maximo password.
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic SignatureService()
throws java.rmi.RemoteException
SignatureCache init.java.rmi.RemoteExceptionSignatureCache,
MXServer.addToMaximoCache(java.lang.String, psdi.mbo.MaximoCache)public SignatureService(MXServer mxServer) throws java.rmi.RemoteException
SignatureCache init.mxServer - java.rmi.RemoteExceptionSignatureCache,
MXServer.addToMaximoCache(java.lang.String, psdi.mbo.MaximoCache)public SignatureCache getSigCache() throws MXException, java.rmi.RemoteException
getSigCache in interface SignatureServiceRemoteMXExceptionjava.rmi.RemoteExceptionSignatureService.getSigCache()public java.lang.String getNewUserGroup(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MaxUser add
and MaxUser appValidategetNewUserGroup in interface SignatureServiceRemoteuserInfo - the user making the requestMXExceptionjava.rmi.RemoteExceptionSignatureService.getNewUserGroup(psdi.security.UserInfo)public java.lang.String getEveryoneGroup(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MaxUser add
and MaxUser appValidategetEveryoneGroup in interface SignatureServiceRemoteuserInfo - the user making the requestMXExceptionjava.rmi.RemoteExceptionSignatureService.getEveryoneGroup(psdi.security.UserInfo)public boolean isActive(java.lang.String userID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
isActive in interface SignatureServiceRemoteuserID - The user ID to be tested.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.isActive(java.lang.String)public MboSetRemote setActive(java.lang.String userID, java.lang.String memo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
setActive in interface SignatureServiceRemoteuserID - The user name to be set active.memo - Freeform comment; can be null.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.setActive(java.lang.String, java.lang.String)public void activateUser(java.lang.String userID,
java.lang.String memo,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isBlocked(java.lang.String userID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
isBlocked in interface SignatureServiceRemoteuserID - The user ID to be tested.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.isBlocked(java.lang.String)public MboSetRemote setBlocked(java.lang.String userID, java.lang.String memo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
setBlocked in interface SignatureServiceRemoteuserID - The user name to be set blocked.memo - Freeform comment; can be null.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.setBlocked(java.lang.String, java.lang.String)public void addLoginTracking(java.lang.String userID,
boolean attemptResult,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
addLoginTracking in interface SignatureServiceRemoteuserID - User ID to be operated upon.attemptResult - True for successful login, else FalseuserInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionSignatureService.addLoginTracking(String, boolean, UserInfo, String, String, String, String[])public void addLoginTracking(java.lang.String userID,
boolean attemptResult,
UserInfo userInfo,
java.lang.String app,
java.lang.String reason,
java.lang.String transid,
java.lang.String[] keyvalue)
throws MXException,
java.rmi.RemoteException
Called from AppService verifyUser.
addLoginTracking in interface SignatureServiceRemoteuserID - User ID to be operated upon.attemptResult - True for successful login, else FalseuserInfo - The UserInfo making the request.app - The application name (optional). Used for ESIG.reason - The reason code (optional). Used for ESIG.transid - The transaction ID (optional). Used for ESIG.keyvalue - Array of up to seven key values (optional).
Used for ESIG to identify a mbo in the main set for the app.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.addLoginTracking(java.lang.String, boolean)public void addLoginTracking(java.lang.String userID,
boolean attemptResult,
UserInfo userInfo,
java.lang.String app,
java.lang.String reason,
java.lang.String transid,
java.lang.String[] keyvalue,
java.lang.String ownerTable,
java.lang.String ownerId)
throws MXException,
java.rmi.RemoteException
Called from AppService verifyUser.
addLoginTracking in interface SignatureServiceRemoteuserID - User ID to be operated upon.attemptResult - True for successful login, else FalseuserInfo - The UserInfo making the request.app - The application name (optional). Used for ESIG.reason - The reason code (optional). Used for ESIG.transid - The transaction ID (optional). Used for ESIG.keyvalue - Array of up to seven key values (optional).
Used for ESIG to identify a mbo in the main set for the app.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.addLoginTracking(java.lang.String, boolean)public java.lang.String generatePassword(java.lang.String userID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
generatePassword
with the MboRemote parameter null.generatePassword in interface SignatureServiceRemoteMXExceptionjava.rmi.RemoteExceptionSignatureService.generatePassword(String, UserInfo)public java.lang.String generatePassword(java.lang.String userID,
UserInfo userInfo,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
validatePassword.generatePassword in interface SignatureServiceRemoteuserID - The user ID associated with the passworduserInfo - The userInfo for getting MboSetsmbo - The mbo containing the password (optional). This is used when
a new maxuser is being added and has not yet been saved to the database.MXExceptionjava.rmi.RemoteExceptionSignatureService.validatePassword(String, String, UserInfo, MboRemote)public void validatePassword(java.lang.String userID,
java.lang.String checkString,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
validatePassword
with the MboRemote parameter null.validatePassword in interface SignatureServiceRemoteMXExceptionjava.rmi.RemoteExceptionSignatureService.validatePassword(String, String, UserInfo)public void validatePassword(java.lang.String userID,
java.lang.String checkString,
UserInfo userInfo,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
PASSWORDMINLENGTH, PASSWORDNUM,
PASSWORDCHAR, PASSWORDTHRESHOLD, etc.
If not valid, throws signature / PswdMinLength, PswdNumReqd, PswdCharReqd, PswdReused (etc.).validatePassword in interface SignatureServiceRemoteuserID - The user ID associated with the passwordcheckString - The password to be validateduserInfo - The userInfo for getting MboSetsmbo - The mbo containing the password (optional). This is used when
a new maxuser is being added and has not yet been saved to the database.MXExceptionjava.rmi.RemoteExceptionSignatureService.validatePassword(String, String, UserInfo, MboRemote)public boolean canChangePassword(java.lang.String userID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
canChangePassword in interface SignatureServiceRemoteuserID - User ID to be tested.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.canChangePassword(java.lang.String)public boolean showPasswordWarning(java.lang.String loginID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
showPasswordWarning in interface SignatureServiceRemoteloginID - Login ID to be tested.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.showPasswordWarning(java.lang.String)public boolean hasPasswordExpired(java.lang.String loginID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
hasPasswordExpired in interface SignatureServiceRemoteloginID - Login ID to be tested.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.hasPasswordExpired(java.lang.String)public boolean testForcePasswordChange(java.lang.String userID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
testForcePasswordChange in interface SignatureServiceRemoteuserID - User ID to be tested.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionMaxUserSet.testForcePasswordChange(java.lang.String)public int passwordWillExpire(java.lang.String loginID,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
passwordWillExpire in interface SignatureServiceRemoteloginID - Login ID to be tested.userInfo - The UserInfo making the request.PSWD_ALREADY_EXPIRED). PSWD_EXPIRES_LATER_TODAY). PSWD_NO_EXPIRATION).MXExceptionjava.rmi.RemoteExceptionMaxUserSet.passwordWillExpire(java.lang.String)public java.lang.String getQuerySql(java.lang.String clauseName,
java.lang.String appName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
getQuerySql in interface SignatureServiceRemoteclauseName - Identifies the Query name. Cannot be null.appName - Identifies the application. Cannot be null.userInfo - The UserInfo making the request. Cannot be null.MXExceptionjava.rmi.RemoteExceptionSignatureService.getQuerySql(java.lang.String, java.lang.String, psdi.security.UserInfo)public java.lang.String getUserPref(java.lang.String varname,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
getUserPref in interface SignatureServiceRemotevarname - userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionSignatureService.getUserPref(java.lang.String, psdi.security.UserInfo)public void setUserPref(java.lang.String varname,
java.lang.String varvalue,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
setUserPref in interface SignatureServiceRemotevarname - The UserPref varname.varvalue - The UserPref varvalue to be set.userInfo - The UserInfo making the request.
The UserPref userid will equal the username of this UserInfo.MXExceptionjava.rmi.RemoteExceptionSignatureService.setUserPref(java.lang.String, java.lang.String, psdi.security.UserInfo)public void deleteUserPref(java.lang.String varname,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
deleteUserPref in interface SignatureServiceRemotevarname - The UserPref varname.userInfo - The UserInfo making the request.
The UserPref userid will equal the username of this UserInfo.MXExceptionjava.rmi.RemoteExceptionSignatureService.deleteUserPref(java.lang.String, psdi.security.UserInfo)public MboSetRemote getQueriesForUser(java.lang.String appName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getQueriesForUser in interface SignatureServiceRemoteappName - Application Name.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionQuerySet.getQueriesForUser(java.lang.String, java.lang.String)public java.util.TreeMap[] getUserAuthForApp(java.lang.String appName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
From the UI, you should NOT call this method directly. Instead, call
Profile getAppMenu,
Profile getAppTools,
Profile getAppSearch,
Profile getQueryMap, or
Profile getAppInfo.
getUserAuthForApp in interface SignatureServiceRemoteappName - Application Name.userInfo - The UserInfo making the request.
MXExceptionjava.rmi.RemoteExceptionSignatureService.getUserAuthForAppSub(java.util.Map, java.util.HashSet, java.lang.String, psdi.security.UserInfo),
Profile.getAppOptions(java.lang.String),
SignatureService.getQueriesForUser(java.lang.String, psdi.security.UserInfo),
SignatureService.getQueryMap(psdi.mbo.MboSetRemote)public java.util.TreeMap getModuleMap(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getModuleMap in interface SignatureServiceRemoteMXExceptionjava.rmi.RemoteExceptionSignatureService.getUserAuthForAppSub(java.util.Map, java.util.HashSet, java.lang.String, psdi.security.UserInfo)public java.util.TreeMap getQueryMap(MboSetRemote querySet) throws MXException, java.rmi.RemoteException
getQueryMap in interface SignatureServiceRemotequerySet - set of QueryMXExceptionjava.rmi.RemoteExceptionSignatureService.getQueryMap(psdi.mbo.MboSetRemote)public MboSetRemote getAppsForModuleAndUser(java.lang.String module, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getAppsForModuleAndUser in interface SignatureServiceRemotemodule - Module name. If null, this method will get apps regardless of module.userInfo - The user to be evaluated.MXExceptionjava.rmi.RemoteExceptionProfile.getApps(),
MaxMenu,
MaxAppspublic LaborRemote getLaborForUserAndSite(java.lang.String userID, java.lang.String siteid, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getLaborForUserAndSite in interface SignatureServiceRemoteuserID - The UserID used in the lookup.siteid - The site used in the lookup.userInfo - The UserInfo making the request.
This can be different from the user being looked up.MXExceptionjava.rmi.RemoteExceptionMXServer.getOrganization(java.lang.String),
SignatureService.getLaborForUserAndOrg(java.lang.String, java.lang.String, psdi.security.UserInfo)public LaborRemote getLaborForUserAndOrg(java.lang.String userID, java.lang.String orgid, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getLaborForUserAndOrg in interface SignatureServiceRemoteuserID - The UserID used in the lookup.orgid - The organization used in the lookup.userInfo - The UserInfo making the request.
This can be different from the user being looked up.MXExceptionjava.rmi.RemoteExceptionLaborSet.getUserPrefWhere(),
Profile.getLaborCodes(java.lang.String)public boolean isValidSite(UserInfo userInfo, java.lang.String siteId) throws MXException, java.rmi.RemoteException
isValidSite in interface SignatureServiceRemoteuserInfo - The user to be validated.siteId - The site to be validated.MXExceptionjava.rmi.RemoteExceptionProfile.getSite(java.lang.String)public java.lang.String[] getSiteAdminWhere(MboSetRemote mboSet, java.lang.String app) throws MXException, java.rmi.RemoteException
getSiteAdminWhere in interface SignatureServiceRemotemboSet - Instance of MaxUser or MaxGroup.
This is also used for getting the UserInfo and login UserID.app - Normally USER or SECURGROUP, unless this is some kind of clone.MXExceptionjava.rmi.RemoteExceptionSignatureService.getSiteAdminWhere(psdi.mbo.MboSetRemote, java.lang.String)public void validateAuthorized(boolean authorized,
MboRemote mbo,
MboSetRemote sigoSet1,
MboSetRemote sigoSet2,
MboSetRemote sigoSet3)
throws MXException,
java.rmi.RemoteException
validateAuthorized in interface SignatureServiceRemoteauthorized - The new value of "authorized".mbo - The SigOption mbo whose value of "authorized" was changed.sigoSet1 - Set 1 of sigoption for validation. Three sets can be passed in because
the Security Groups app does not display some sigoptions, and displays the others in
two different sets.
The owner of these sets should be MaxApps, and the owner of MaxApps should be MaxGroup.sigoSet2 - Set 2 of sigoption for validation.sigoSet3 - Set 3 of sigoption for validation.MXExceptionjava.rmi.RemoteExceptionSignatureService.getAlsoSigoption(boolean, psdi.mbo.MboRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote),
SignatureService.validateAuthorizedSub(psdi.mbo.MboRemote, java.util.HashSet, psdi.mbo.MboSetRemote)public void setAuthorized(boolean authorized,
MboRemote mbo,
MboSetRemote sigoSet1,
MboSetRemote sigoSet2,
MboSetRemote sigoSet3)
throws MXException,
java.rmi.RemoteException
setAuthorized in interface SignatureServiceRemoteauthorized - The new value of "authorized".mbo - The SigOption mbo whose value of "authorized" was changed.sigoSet1 - Set 1 of sigoption for validation. Three sets can be passed in because
the Security Groups app does not display some sigoptions, and displays the others in
two different sets.
The owner of these sets should be MaxApps, and the owner of MaxApps should be MaxGroup.sigoSet2 - Set 2 of sigoption for validation.sigoSet3 - Set 3 of sigoption for validation.MXExceptionjava.rmi.RemoteExceptionSignatureService.getAlsoSigoption(boolean, psdi.mbo.MboRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote),
SignatureService.setAuthorizedSub(boolean, java.util.HashSet, psdi.mbo.MboSetRemote)public java.util.HashSet getAlsoSigoption(boolean alsoGrants,
MboRemote mbo,
MboSetRemote sigoSet1,
MboSetRemote sigoSet2,
MboSetRemote sigoSet3)
throws MXException,
java.rmi.RemoteException
validateAuthorized.alsoGrants - True for "alsogrants", False for "alsorevokes"mbo - The mbo whose authorized value is being changed.sigoSet1 - Set 1 of sigoptionsigoSet2 - Set 2 of sigoptionsigoSet3 - Set 3 of sigoptionMXExceptionjava.rmi.RemoteExceptionSignatureService.getAlsoSigoptionSub(java.util.HashSet, java.lang.String, psdi.mbo.MboSetRemote)public boolean allowedWithLDAP(java.lang.String app,
java.lang.String optionname)
throws MXException,
java.rmi.RemoteException
allowedWithLDAP in interface SignatureServiceRemoteapp - App nameoptionname - Option nameMXExceptionjava.rmi.RemoteExceptionSignatureService.allowedWithLDAP(java.lang.String, java.lang.String)public boolean isActiveSite(java.lang.String siteID)
throws MXException,
java.rmi.RemoteException
isActiveSite in interface SignatureServiceRemotesiteID - MXExceptionjava.rmi.RemoteExceptionSiteCache.isActiveSite(java.lang.String)public void applyDefaultTemplate(MboRemote maxGroup, java.lang.String app) throws MXException, java.rmi.RemoteException
maxGroup - MAXGROUP Mbo.app - Application name.MXExceptionjava.rmi.RemoteExceptionpublic void applyUserQueryList(MboSetRemote msr, java.lang.String queryName, java.lang.String owner, java.lang.String app, boolean complete) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void refreshUserConts(MboRemote userQuery) throws MXException, java.rmi.RemoteException
userQuery - UserQuery Mbo.MXExceptionjava.rmi.RemoteExceptionpublic void refreshUserCont(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo - User Info.MXExceptionjava.rmi.RemoteException