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
,
Profile
PSWD_ALREADY_EXPIRED, PSWD_EXPIRES_LATER_TODAY, PSWD_NO_EXPIRATION
ALLROWS, 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, USER
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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<java.lang.String> |
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<java.lang.String,java.util.Hashtable<java.lang.String,java.lang.String>> |
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, 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, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public SignatureService() throws java.rmi.RemoteException
SignatureCache init
.java.rmi.RemoteException
SignatureCache
,
MXServer.addToMaximoCache(java.lang.String, psdi.mbo.MaximoCache)
public SignatureService(MXServer mxServer) throws java.rmi.RemoteException
SignatureCache init
.mxServer
- java.rmi.RemoteException
SignatureCache
,
MXServer.addToMaximoCache(java.lang.String, psdi.mbo.MaximoCache)
public SignatureCache getSigCache() throws MXException, java.rmi.RemoteException
getSigCache
in interface SignatureServiceRemote
MXException
java.rmi.RemoteException
getSigCache()
public java.lang.String getNewUserGroup(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MaxUser add
and MaxUser appValidate
getNewUserGroup
in interface SignatureServiceRemote
userInfo
- the user making the requestMXException
java.rmi.RemoteException
getNewUserGroup(psdi.security.UserInfo)
public java.lang.String getEveryoneGroup(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MaxUser add
and MaxUser appValidate
getEveryoneGroup
in interface SignatureServiceRemote
userInfo
- the user making the requestMXException
java.rmi.RemoteException
getEveryoneGroup(psdi.security.UserInfo)
public boolean isActive(java.lang.String userID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
isActive
in interface SignatureServiceRemote
userID
- The user ID to be tested.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.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 SignatureServiceRemote
userID
- The user name to be set active.memo
- Freeform comment; can be null.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.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
MXException
java.rmi.RemoteException
public boolean isBlocked(java.lang.String userID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
isBlocked
in interface SignatureServiceRemote
userID
- The user ID to be tested.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.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 SignatureServiceRemote
userID
- The user name to be set blocked.memo
- Freeform comment; can be null.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.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 SignatureServiceRemote
userID
- User ID to be operated upon.attemptResult
- True for successful login, else FalseuserInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
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 SignatureServiceRemote
userID
- 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.MXException
java.rmi.RemoteException
MaxUserSet.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 SignatureServiceRemote
userID
- 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.MXException
java.rmi.RemoteException
MaxUserSet.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 SignatureServiceRemote
MXException
java.rmi.RemoteException
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 SignatureServiceRemote
userID
- 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.MXException
java.rmi.RemoteException
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 SignatureServiceRemote
MXException
java.rmi.RemoteException
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 SignatureServiceRemote
userID
- 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.MXException
java.rmi.RemoteException
validatePassword(String, String, UserInfo, MboRemote)
public boolean canChangePassword(java.lang.String userID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
canChangePassword
in interface SignatureServiceRemote
userID
- User ID to be tested.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.canChangePassword(java.lang.String)
public boolean showPasswordWarning(java.lang.String loginID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
showPasswordWarning
in interface SignatureServiceRemote
loginID
- Login ID to be tested.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.showPasswordWarning(java.lang.String)
public boolean hasPasswordExpired(java.lang.String loginID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
hasPasswordExpired
in interface SignatureServiceRemote
loginID
- Login ID to be tested.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.hasPasswordExpired(java.lang.String)
public boolean testForcePasswordChange(java.lang.String userID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
testForcePasswordChange
in interface SignatureServiceRemote
userID
- User ID to be tested.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
MaxUserSet.testForcePasswordChange(java.lang.String)
public int passwordWillExpire(java.lang.String loginID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
passwordWillExpire
in interface SignatureServiceRemote
loginID
- Login ID to be tested.userInfo
- The UserInfo making the request.PSWD_ALREADY_EXPIRED
). PSWD_EXPIRES_LATER_TODAY
). PSWD_NO_EXPIRATION
).MXException
java.rmi.RemoteException
MaxUserSet.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 SignatureServiceRemote
clauseName
- Identifies the Query name. Cannot be null.appName
- Identifies the application. Cannot be null.userInfo
- The UserInfo making the request. Cannot be null.MXException
java.rmi.RemoteException
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 SignatureServiceRemote
varname
- userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
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 SignatureServiceRemote
varname
- 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.MXException
java.rmi.RemoteException
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 SignatureServiceRemote
varname
- The UserPref varname.userInfo
- The UserInfo making the request.
The UserPref userid will equal the username of this UserInfo.MXException
java.rmi.RemoteException
deleteUserPref(java.lang.String, psdi.security.UserInfo)
public MboSetRemote getQueriesForUser(java.lang.String appName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getQueriesForUser
in interface SignatureServiceRemote
appName
- Application Name.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
QuerySet.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 SignatureServiceRemote
appName
- Application Name.userInfo
- The UserInfo making the request.
MXException
java.rmi.RemoteException
getUserAuthForAppSub(java.util.Map<java.lang.Integer, psdi.app.signature.MaxMenuInfo>, java.util.HashSet, java.lang.String, psdi.security.UserInfo)
,
Profile.getAppOptions(java.lang.String)
,
getQueriesForUser(java.lang.String, psdi.security.UserInfo)
,
getQueryMap(psdi.mbo.MboSetRemote)
public java.util.TreeMap getModuleMap(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getModuleMap
in interface SignatureServiceRemote
MXException
java.rmi.RemoteException
getUserAuthForAppSub(java.util.Map<java.lang.Integer, psdi.app.signature.MaxMenuInfo>, java.util.HashSet, java.lang.String, psdi.security.UserInfo)
public java.util.TreeMap<java.lang.String,java.util.Hashtable<java.lang.String,java.lang.String>> getQueryMap(MboSetRemote querySet) throws MXException, java.rmi.RemoteException
getQueryMap
in interface SignatureServiceRemote
querySet
- set of QueryMXException
java.rmi.RemoteException
getQueryMap(psdi.mbo.MboSetRemote)
public MboSetRemote getAppsForModuleAndUser(java.lang.String module, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getAppsForModuleAndUser
in interface SignatureServiceRemote
module
- Module name. If null, this method will get apps regardless of module.userInfo
- The user to be evaluated.MXException
java.rmi.RemoteException
Profile.getApps()
,
MaxMenu
,
MaxApps
public LaborRemote getLaborForUserAndSite(java.lang.String userID, java.lang.String siteid, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getLaborForUserAndSite
in interface SignatureServiceRemote
userID
- 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.MXException
java.rmi.RemoteException
MXServer.getOrganization(java.lang.String)
,
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 SignatureServiceRemote
userID
- 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.MXException
java.rmi.RemoteException
LaborSet.getUserPrefWhere()
,
Profile.getLaborCodes(java.lang.String)
public boolean isValidSite(UserInfo userInfo, java.lang.String siteId) throws MXException, java.rmi.RemoteException
isValidSite
in interface SignatureServiceRemote
userInfo
- The user to be validated.siteId
- The site to be validated.MXException
java.rmi.RemoteException
Profile.getSite(java.lang.String)
public java.lang.String[] getSiteAdminWhere(MboSetRemote mboSet, java.lang.String app) throws MXException, java.rmi.RemoteException
getSiteAdminWhere
in interface SignatureServiceRemote
mboSet
- 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.MXException
java.rmi.RemoteException
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 SignatureServiceRemote
authorized
- 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.MXException
java.rmi.RemoteException
getAlsoSigoption(boolean, psdi.mbo.MboRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote)
,
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 SignatureServiceRemote
authorized
- 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.MXException
java.rmi.RemoteException
getAlsoSigoption(boolean, psdi.mbo.MboRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote)
,
setAuthorizedSub(boolean, java.util.HashSet, psdi.mbo.MboSetRemote)
public java.util.HashSet<java.lang.String> 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 sigoptionMXException
java.rmi.RemoteException
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 SignatureServiceRemote
app
- App nameoptionname
- Option nameMXException
java.rmi.RemoteException
allowedWithLDAP(java.lang.String, java.lang.String)
public boolean isActiveSite(java.lang.String siteID) throws MXException, java.rmi.RemoteException
isActiveSite
in interface SignatureServiceRemote
siteID
- MXException
java.rmi.RemoteException
SiteCache.isActiveSite(java.lang.String)
public void applyDefaultTemplate(MboRemote maxGroup, java.lang.String app) throws MXException, java.rmi.RemoteException
maxGroup
- MAXGROUP Mbo.app
- Application name.MXException
java.rmi.RemoteException
public void applyUserQueryList(MboSetRemote msr, java.lang.String queryName, java.lang.String owner, java.lang.String app, boolean complete) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void refreshUserConts(MboRemote userQuery) throws MXException, java.rmi.RemoteException
userQuery
- UserQuery Mbo.MXException
java.rmi.RemoteException
public void refreshUserCont(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo
- User Info.MXException
java.rmi.RemoteException