com.ontimize.locator
Class DelegationSecurePermissionSecureReferenceLocator
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ontimize.locator.SecureReferenceLocator
com.ontimize.locator.PermissionSecureReferenceLocator
com.ontimize.locator.DelegationSecurePermissionSecureReferenceLocator
- All Implemented Interfaces:
- ClientPermissionManager, ConnectionOptimizer, EntityReferenceLocator, INoticeSendMails, INoticeSystem, java.rmi.Remote, RemoteApplicationPreferenceReferencer, com.ontimize.ols.RemoteLControl, com.ontimize.ols.RemoteLControlAdministration, com.ontimize.ols.RemoteLOk, RemotelyManageable, RemoteReportReferencer, SecureEntityReferenceLocator, java.io.Serializable, ServerPermissionManager, ServerReferenceLocator, UserDelegatorAutentifier, UtilReferenceLocator, XMLClientProvider, XMLFormProvider
- public class DelegationSecurePermissionSecureReferenceLocator
- extends PermissionSecureReferenceLocator
- implements UserDelegatorAutentifier
- See Also:
- Serialized Form
| Fields inherited from class com.ontimize.locator.PermissionSecureReferenceLocator |
businessCalendarFile, clientPermissionsColumn, definitionPermissionsGroupsFile, entityNames, licensePermission, locale, PERMISSION_GROUP_DEFINITION, permissionEntity, permissionGroupKeyColumnName, profileColumn, profileEntity, serverPermissionsColumn, serverSecurityManagerClass, userGroupsEntityName |
| Fields inherited from class com.ontimize.locator.SecureReferenceLocator |
ADMIN_PASSWORD, ADMIN_USER, ALLOW_CERTIFICATE_LOGIN, attachmentEntity, attachmentPath, baseLogFileName, buffWriterLog, CA_CERTIFICATES_PROP, CHECK_SESSIONS_TIME, checkSessionsTime, CLASS_ELEMENT, clientWatchUserList, CLOSE_WAIT_TIME, closedServer, compressionEnabled, compressionThresholds, CRL_CERTIFICATES_PROP, currentUserList, databaseEntityManager, defaultNoticeDestinyEntityClass, defaultNoticeEntityClass, domain, DOMAIN, encrypt, entitiesClass, fileLogExtension, fileWriterLog, FORM_MANAGER_PROVIDER_ENTITY, FORM_MANAGER_PROVIDER_ENTITY_FORM_NAME_COLUMN, FORM_MANAGER_PROVIDER_ENTITY_ID_COLUMN, FORM_MANAGER_PROVIDER_ENTITY_INTERACTION_MANAGER_COLUMN, FORM_PROVIDER_ENTITY, FORM_PROVIDER_ENTITY_FORMNAME_COLUMN, FORM_PROVIDER_ENTITY_FORMXML_COLUMN, formManagerProviderEntity, formManagerProviderEntityFormNameColumn, formManagerProviderEntityIdColumn, formManagerProviderEntityInteractionManagerColumn, formProviderEntity, formProviderEntityFormNameColumn, formProviderEntityFormXMLColumn, ID_CARD_COLUMN, idCardColumn, idHostList, isZipLogFile, JAAS_CONFIG_FILE, jaasconfigfile, kdc, KDC, krealm, KREALM, lastSessionAccessTimeList, lcms, LDAP_HOST, LDAP_PORT, LDAP_SSL, LDAP_USERDN_KEY, ldaphost, ldapport, ldapSSL, loadedEntities, LOG_BUFFER_SIZE, LOG_FILE, logBuffer, logBufferSize, logFile, LOGIN_ENTITY, loginEntity, logSessionEvents, logStreamErr, logStreamOut, manager, MAX_INACTIVE_SESSION_TIME, MAX_LOG_FILE_SIZE, maximumLogFileSize, maximumSessionTime, maximumUsers, MAXUSERS, MENU_PROVIDER_ENTITY, MENU_PROVIDER_ENTITY_XML_COLUMN, menuProviderEntity, menuProviderEntityXMLColumn, messagesBuffer, MIN_COMPRESSION_THRESHOLD, MISSING_PARAMETER, MULTICONNECTION_MANAGER, multiConnectionManager, multiConnectionManagerPath, NAME_ELEMENT, NOTICE_ENTITY_DESTINY_NAME, NOTICE_ENTITY_NAME, noticeEntity, noticesPath, noticeSystem, oneSessionAllowed, PACKAGE, packageS, PARAM_ELEMENT, pathProperties, port, PREFERENCE_CLASS, PRINTING_TEMPLATE_ENTITY, printingTemplatesEntity, PRIVATE_REPORT_STORE, privilegedId, propertiesEntities, REMOTE_OPERATION_MANAGER, REMOTE_PREFERENCES_CONFIGURATION_FILE, REMOTE_REFERENCE_ELEMENT, REMOTE_REFERENCES, REMOTE_REFERENCES_ELEMENT, remoteReferenceClassNames, remoteReferenceInstances, remoteReferenceParameters, remoteStoreList, REPORT_STORE, REPORT_STORE_PATH, reportEntities, RESTART_COMMAND, rOperationManager, rPrefs, SEARCH_USER, SEARCH_USER_PASSWORD, SEARCH_USER_STRING, searchUser, searchUserPassword, searchUserString, sendMailThread, serverTimeZone, startSessionTimeList, testRE, updateListThread, USE_APPLICATION_USER, useApplicationUser, USER_DNS_STRING, userDNString, userIdList, userInfoListModel, VALUE_ELEMENT, watchDog, xmlDynamicMenu, ZIP_LOG_FILE |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface com.ontimize.util.notice.INoticeSystem |
INTERNAL_NOTICE_PERIOD, MAIL_CONF_PROPERTIES, NOTICE_CONTENT, NOTICE_CREATE_DATE, NOTICE_DELETE_RECEIVE_NOTICE, NOTICE_DELETE_SEND_NOTICE, NOTICE_DESTINY_KEY, NOTICE_ENTITY_DESTINY_TABLE_DB, NOTICE_ENTITY_TABLE_DB, NOTICE_FORCE_READ, NOTICE_FROM_PARAMETER, NOTICE_KEY, NOTICE_MAILTO_PARAMETER, NOTICE_MESSAGE_COLUMN_NAME, NOTICE_MESSAGE_TYPE_COLUMN_NAME, NOTICE_OTHER_COLUMNS, NOTICE_READ, NOTICE_READ_DATE, NOTICE_RESPONSE_REQUEST, NOTICE_SEND, NOTICE_SEND_DATE, NOTICE_SEND_MAIL, NOTICE_SUBJECT, NOTICE_SYSTEM, NOTICE_TO_PARAMETER, PROP_NOTICE_CLASS_MAIL, PROP_NOTICE_CONFIG_DEFAULT_TEMPLATE, PROP_NOTICE_CONFIG_MAIL, PROP_NOTICE_CONFIG_REQUEST_TEMPLATE, PROP_NOTICE_CONFIG_TEMPLATES, PROP_NOTICE_ENTITY_DESTINY_NAME, PROP_NOTICE_ENTITY_NAME, SEND_MAIL_PERIOD |
|
Constructor Summary |
DelegationSecurePermissionSecureReferenceLocator(int port,
java.util.Hashtable parameters)
|
DelegationSecurePermissionSecureReferenceLocator(int puerto,
java.util.Hashtable parameters,
java.lang.String delegationsEntityName,
java.lang.String authentificationEntityName)
|
DelegationSecurePermissionSecureReferenceLocator(int puerto,
java.util.Hashtable parameters,
java.lang.String delegationsEntityName,
java.lang.String authentificationEntityName,
java.lang.String userColumn,
java.lang.String passwordColumn,
java.lang.String delegationUserColumn,
java.lang.String delegateColumn)
|
| Methods inherited from class com.ontimize.locator.PermissionSecureReferenceLocator |
checkActionPermission, getBussinesCalendarFile, getClientPermissions, getClientPermissionsColumn, getEntityList, getParameters, getPermissionGroupsInfo, getPermissionInfo, getProfileColumn, getProfileEntity, getServerPermissions, getServerPermissions, getServerPermissionsColumn, getTime, getUserProfileServerPermissions, getUserProfileServerPermissions, installClientPermissions, installServerPermissions, installServerSecurityManager, joinClientPermissions, joinServerPermissions, queryGroupPermission, retrieveInitialContext, setServerPermissions, setServerPermissions, setUserProfileServerPermissions, startSession, startTemporalAdminitrationSession, updateL |
| Methods inherited from class com.ontimize.locator.SecureReferenceLocator |
addRemoteReportStore, checkLogFileChange, checkNoticeAsSend, checkNoticeSent, checkToken, closeLockedConnections, closeServer, closeServer, closeSession, closeSession, configureConnectionManager, configureMultiConnectionManager, configureRemoteReference, configureRemoteReferences, createConnectionManager, createDatabaseEntityManager, createRemoteReference, endAdministrationSession, finishAdministrationRemoteSession, flushLogBuffer, forceFinishSession, freeServerResources, generatePrivilegedId, getAttachmentEntity, getCertificateFromText, getConnectedSessionIds, getConnectedUsers, getConnectionInfo, getConnectionManager, getDataCompressionThreshold, getDEBUGValueRemote, getDefaultPackage, getEntity, getEntity, getEntityReference, getEntityReference, getEntityReferenceFromServer, getFormManagerParameters, getInternalNotices, getLastNCharactersFromLogFile, getLContent, getLInfoObject, getLoadedEntities, getLoadedEntities, getLogFile, getLoginEntityName, getLValue, getMessages, getNewMailNotice, getNextLogFileIndex, getNodeValue, getNoticeEntity, getNoticeEntityDestinyName, getNoticeEntityName, getNoticeTypes, getParameters, getPasswordFromCert, getPasswordFromCert, getPrintingTemplateEntity, getRemoteApplicationPreferences, getRemoteOperationManager, getRemotePreferencesFile, getRemoteReference, getRemoteReference, getRemoteReportStore, getReportEntityNames, getSentNotices, getSerial, getServerTimeZone, getSessionId, getSessionInfo, getSpecialEntity, getStartSessionTime, getSystemInfo, getToken, getUser, getUserFromCert, getUserFromCert, getUserId, getUserIds, getUserInfoListModel, getXMLForm, getXMLMenu, hasSession, hasSession, isAllowCertificateLogin, isDevelopementL, isLDAPUser, isMultiConnectionManager, isValidCertificateText, loadEntity, localAuthenticate, ok, ok, ok, ping, reloadXMLMenu, removeEntity, removeEntity, removeEntity, removeReceivedNotices, removeSentNotices, restartServer, sendMessage, sendMessage, sendMessageToAll, sendNotice, setCompressionEnabled, setDataCompressionThreshold, setDEBUGValueRemote, setMultiConnectionManager, setNoticesRead, setRemotePreferencesFile, setSessionIdLastAccessTime, startAdministrationRemoteSession, startCertificateSession, startSessionInner, stopServer, testConnectionSpeed, updateL, updateListInfo, zipLogFile |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
M_ERROR_DELEGATION
public static java.lang.String M_ERROR_DELEGATION
DELEGATE_COLUMN
public static final java.lang.String DELEGATE_COLUMN
- See Also:
- Constant Field Values
DELEGATION_ENTITY
public static final java.lang.String DELEGATION_ENTITY
- See Also:
- Constant Field Values
delegationEntityName
protected java.lang.String delegationEntityName
authenticationEntityName
protected java.lang.String authenticationEntityName
authenticationEntity
protected Entity authenticationEntity
delegationEntity
protected DelegationEntity delegationEntity
userColumn
protected java.lang.String userColumn
passwordColumn
protected java.lang.String passwordColumn
delegationUserColumn
protected java.lang.String delegationUserColumn
delegateColumn
protected java.lang.String delegateColumn
currentDelegations
protected DelegationInfo currentDelegations
DelegationSecurePermissionSecureReferenceLocator
public DelegationSecurePermissionSecureReferenceLocator(int port,
java.util.Hashtable parameters)
throws java.lang.Exception
DelegationSecurePermissionSecureReferenceLocator
public DelegationSecurePermissionSecureReferenceLocator(int puerto,
java.util.Hashtable parameters,
java.lang.String delegationsEntityName,
java.lang.String authentificationEntityName)
throws java.lang.Exception
DelegationSecurePermissionSecureReferenceLocator
public DelegationSecurePermissionSecureReferenceLocator(int puerto,
java.util.Hashtable parameters,
java.lang.String delegationsEntityName,
java.lang.String authentificationEntityName,
java.lang.String userColumn,
java.lang.String passwordColumn,
java.lang.String delegationUserColumn,
java.lang.String delegateColumn)
throws java.lang.Exception
initEntities
protected void initEntities()
throws java.lang.Exception
- Throws:
java.lang.Exception
setUserColumn
public void setUserColumn(java.lang.String s)
setPasswordColumn
public void setPasswordColumn(java.lang.String s)
setDelegationUserColumn
public void setDelegationUserColumn(java.lang.String s)
setDelegateColumn
public void setDelegateColumn(java.lang.String s)
isAuthentified
public boolean isAuthentified(java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Specified by:
isAuthentified in interface UserDelegatorAutentifier
- Throws:
java.lang.Exception
hasDelegations
public boolean hasDelegations(java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Specified by:
hasDelegations in interface UserDelegatorAutentifier
- Throws:
java.lang.Exception
getDelegations
public UserDelegationsInfo getDelegations(java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Specified by:
getDelegations in interface UserDelegatorAutentifier
- Throws:
java.lang.Exception
getCurrentDelegation
public java.lang.String getCurrentDelegation(java.lang.String user,
int sessionId)
throws java.lang.Exception
- Specified by:
getCurrentDelegation in interface UserDelegatorAutentifier
- Throws:
java.lang.Exception
endSession
public void endSession(int sessionId)
throws java.lang.Exception
- Description copied from interface:
EntityReferenceLocator
- This method finishes a client session. When this method is called, the
entity reference locator does not provide more entity references to this
client identifier.
- Specified by:
endSession in interface EntityReferenceLocator- Overrides:
endSession in class PermissionSecureReferenceLocator
- Throws:
java.lang.Exception
startSession
public int startSession(java.lang.String user,
java.lang.String password,
java.lang.String asUser,
ClientWatch cw)
throws java.lang.Exception
- Specified by:
startSession in interface UserDelegatorAutentifier
- Throws:
java.lang.Exception
createSession
protected int createSession(java.lang.String user,
ClientWatch client)
throws java.lang.Exception
- Throws:
java.lang.Exception