public class DelegationPermissionReferenceLocator extends PermissionReferenceLocator implements UserDelegatorAutentifier
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DelegationPermissionReferenceLocator.DelegationWindow |
PermissionReferenceLocator.TimeThreadReferenceLocator.DefaultClientSocketFactory, ReferenceLocator.DefaultSSLClientSocketFactoryUtilReferenceLocator.Message| Modifier and Type | Field and Description |
|---|---|
protected Entity |
authenticationEntity |
protected String |
authenticationEntityName |
protected DelegationInfo |
currentDelegations |
protected String |
delegateColumn |
protected DelegationEntity |
delegationEntity |
protected String |
delegationEntityName |
protected String |
delegationUserColumn |
static String |
M_ERROR_DELEGATION |
protected String |
passwordColumn |
protected String |
userColumn |
BUSINESS_CALENDAR_FILE, businessCalendarFile, CLIENT_PERMISSION_COLUMN, clientPermissionsColumn, clientPermissionsInstalled, currentServerTime, DEFAULT_TIME_THREAD_SLEEP, ENTITIES, entityNames, PERMISSION_ENTITY, PERMISSION_GROUP_KEY_COLUMN, permissionGroupKeyColumnName, permissionsEntity, PROFILE_COLUMN, PROFILE_ENTITY, profileColumn, profileEntity, SERVER_PERMISSION_COLUMN, SERVER_SECURITY_MANAGER_CLASS, serverPermissionsColumn, serverSecurityManagerClass, updateHourServerThread, USER_GROUP_ENTITY, userGroupsEntityNameaskUserChangeTimezone, ATTACHMENT_ENTITY, ATTACHMENT_ENTITY_PATH, attachmentEntity, attachmentEntityInstance, attachmentPath, AUTONUMERICAL_PROPERTIES, b, chatCheckTime, chatWindow, CHECK_SERVER_MESSAGES_PERIOD, checkMessagesThread, checkRemoteAdministrationMessagesThread, CONTROL_ACCESS_ATTEMPTS, controlAccessAttempt, CUSTOM_SOCKET, cw, databaseEntityManager, DB_PROPERTIES, DEBUG, defaultNoticeDestinyEntityClass, defaultNoticeEntityClass, defaultValueUseServerTimezone, DYNAMIC_LOCAL_ENTITY_PREFIX, ENCRYPT_PROPERTY, ENTITIES_CLASS, ENTITIES_PROPERTIES, entitiesProperties, entitiesPropertiesClass, errorAccessControl, formManagerProviderEntity, formManagerProviderEntityFormNameColumn, formManagerProviderEntityIdColumn, formManagerProviderEntityInteractionManagerColumn, formProviderEntity, formProviderEntityFormNameColumn, formProviderEntityFormRuleColumn, formProviderEntityFormXMLColumn, imageProviderEntity, imageProviderEntityImageBytesColumn, imageProviderEntityImageNameColumn, IMPOSSIBLE_CONNECT_TO_SERVER, initReferences, installSocketFactory, key, lastRemoteReferenceCheck, loadedEntities, LOCAL, LOCAL_ENTITIES, LOCAL_ENTITIES_PACKAGE, LOCALE_ENTITY, LOCALE_SUFFIX, localeEntity, localEntities, localEntitiesPackage, localeSuffix, localLocator, localRemoteReportStore, LOGIN_ENTITY, loginEntity, M_NOT_AUTHORIZED, manager, menuProviderEntity, menuProviderEntityXMLColumn, messagesCheckTime, moduleLocalEntities, MULTICONNECTION_MANAGER, multiConnectionManager, multiConnectionManagerPath, NEW_CHAT, NOTICE_ENTITY_DESTINY_NAME, NOTICE_ENTITY_NAME, noticesPath, noticeSystem, NUMBER_ACCESS_ATTEMPTS, numberAccessAttemps, offset, offsetString, PACKAGE_OR_HOSTNAME, packageA, port, PORT, printingTemplateEntityInstance, printingTemplatesEntity, privilegedId, propertiesPath, reconnectState, REFERENCE_ELEMENT, referenceClassNames, referenceInstances, referenceLocatorServer, referenceLocatorServerName, referenceParameters, REFERENCES_ELEMENT, REMOTE_OBJECT_NOT_REGISTERED, REMOTE_REFERENCE_LOCATOR_NAME, remoteReferenceCheckCycle, remoteReferenceClassNames, remoteReferenceInstances, remoteReferenceParameters, REPORT_ENTITIES, reportEntities, reportStore, rOperationManager, s, serverTimeZone, sessionLocale, sessionLocaleId, SSO_PATH, startSession, text, textAttribute, toolbarProviderEntity, toolbarProviderEntityXMLColumn, UNKNOWN_ERROR, UNKNOWN_HOST, user, userId, VIEWER, xmlDynamicMenu, xmlDynamicToolbarPERMISSIONS_KEYENTITY_LIST_KEY, USER_PERMISSIONS_KEY, USER_PROFILE_PERMISSIONS_KEYADMINISTRATION_PERMISSION, CONNECTION_INFO, IS_MULTICONNECTION, LOADED_ENTITIES, MULTICONNECTION_IDLIST, MULTICONNECTION_INFOINTERNAL_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 and Description |
|---|
DelegationPermissionReferenceLocator(Hashtable parameters) |
DelegationPermissionReferenceLocator(Hashtable parameters,
String delegationsEntityName,
String authentificationEntityName) |
| Modifier and Type | Method and Description |
|---|---|
protected DelegationPermissionReferenceLocator.DelegationWindow |
createDelegationWindow(Frame f,
UserDelegationsInfo info) |
protected int |
createSession(String user,
ClientWatch cliente) |
void |
endSession(int sessionId)
This method finishes a client session.
|
String |
getCurrentDelegation(String user,
int sessionId)
It is enough with the sessionId.
|
UserDelegationsInfo |
getDelegations(String user,
String password) |
boolean |
hasDelegations(String user,
String password) |
protected void |
initEntities() |
void |
installClientPermissions(Hashtable kv,
int sessionId)
Sets the client permissions.
|
boolean |
isAuthentified(String user,
String password) |
void |
setDelegateColumn(String s) |
void |
setDelegationUserColumn(String s) |
void |
setPasswordColumn(String s) |
void |
setUserColumn(String s) |
protected int |
startRemoteSession(String user,
String password,
ClientWatch cw) |
int |
startSession(String user,
String password,
String asUser,
ClientWatch cw) |
checkActionPermission, getBussinesCalendarFile, getClientPermissionColumn, getClientPermissions, getContextParams, getEntityList, getParameters, getPermissionGroupsInfo, getPermissionInfo, getServerPermissions, getServerPermissions, getTime, getUserProfileServerPermissions, installServerPermissions, installServerSecurityManager, joinClientPermissions, joinServerPermissions, queryGroupPermission, retrieveInitialContext, setServerPermissions, setServerPermissions, setUserProfileServerPermissions, startSession, updateLaddModuleMemoryEntity, blockUserDB, changePassword, checkBlockUserDB, checkNoticeAsSend, checkNoticeSent, checkToken, closeLockedConnections, closeSession, configureConnectionManager, configureMultiConnectionManager, configureReference, configureReferences, configureRemoteReferences, createConnectionManager, createDatabaseEntityManager, createDynamicLocalEntity, createMemoryEntity, createReference, createRemoteReference, ensureRemoteReferenceLocator, failure, finalize, finishAdministrationRemoteSession, getAccessControl, getAttachmentEntity, getChatCheckTime, getConnectedSessionIds, getConnectedUsers, getConnectionManager, getDatabaseConnectionManager, getDEBUGValueRemote, getDefaultPackage, getEntityConnectionManager, getEntityReference, getErrorAccessControl, getFormManagerParameters, getImage, getInitialContext, getInternalNotices, getLastNCharactersFromLogFile, getLContent, getLInfoObject, getLoadedEntities, getLocale, getLocaleEntity, getLocaleId, getLocalEntity, getLocalEntity, getLoginEntityName, getLValue, getMemoryEntity, getMemoryEntity, getMessageCheckTime, getMessages, getNewMailNotice, getNodeValue, getNoticeEntity, getNoticeEntityDestinyName, getNoticeEntityName, getNoticeTypes, getPasswordFromCert, getPasswordFromCert, getPrintingTemplateEntity, getPrivateEntity, getReference, getRemoteAdministrationMessages, getRemoteApplicationPreferences, getRemoteLogManager, getRemoteOperationManager, getRemotePreferencesFile, getRemoteReference, getRemoteReportStore, getReportEntityNames, getSentNotices, getServerTimeZone, getSessionId, getSessionInfo, getSpecialEntity, getStartSessionTime, getSuffixString, getSystemInfo, getToken, getUser, getUserFromCert, getUserFromCert, getUserId, getUserIds, getXMLForm, getXMLMenu, getXMLRules, getXMLToolbar, hasChat, initServerNotice, installClientRMIFailureHandler, installRMISocketFactory, isAllowCertificateLogin, isDevelopementL, isDynamicLocalEntity, isLocalMode, isMultiConnectionManager, loadEntity, ok, ok, ping, reloadXMLMenu, reloadXMLToolbar, removeEntity, removeEntity, removeReceivedNotices, removeRemoteReferences, removeSentNotices, restartServer, selectTimeZone, sendMessage, sendMessage, sendMessageToAll, sendNotice, sendRemoteAdministrationMessages, setDEBUGValueRemote, setDefaultLocaleId, setLocale, setLocalEntities, setMultiConnectionManager, setNoticesRead, setRemotePreferencesFile, setRemoteReportStore, showMessageDialog, ssoLogin, startAdministrationRemoteSession, startCheckMessagesThread, startCheckRemoteAdministratorMessagesThread, startLocalSession, startUserPasswordSession, stopServer, supportChangePassword, testConnectionSpeed, testConnectionSpeed, updateRemoteReferenceLocator, waitServerForRestartpublic static String M_ERROR_DELEGATION
protected String delegationEntityName
protected String authenticationEntityName
protected Entity authenticationEntity
protected DelegationEntity delegationEntity
protected String userColumn
protected String passwordColumn
protected String delegationUserColumn
protected String delegateColumn
protected DelegationInfo currentDelegations
public DelegationPermissionReferenceLocator(Hashtable parameters) throws Exception
Exceptionpublic void setUserColumn(String s)
public void setPasswordColumn(String s)
public void setDelegationUserColumn(String s)
public void setDelegateColumn(String s)
protected int startRemoteSession(String user, String password, ClientWatch cw) throws Exception
startRemoteSession in class ReferenceLocatorExceptionpublic void installClientPermissions(Hashtable kv, int sessionId) throws Exception
ClientPermissionManagerClientSecurityManager
object with all permissions information for the specified user.installClientPermissions in interface ClientPermissionManagerinstallClientPermissions in class PermissionReferenceLocatorkv - Keys to identify the usersessionId - User session identifierExceptionpublic int startSession(String user, String password, String asUser, ClientWatch cw) throws Exception
startSession in interface UserDelegatorAutentifierExceptionprotected int createSession(String user, ClientWatch cliente) throws Exception
Exceptionpublic void endSession(int sessionId)
throws Exception
EntityReferenceLocatorendSession in interface EntityReferenceLocatorendSession in class ReferenceLocatorsessionId - Client session identifierExceptionpublic String getCurrentDelegation(String user, int sessionId) throws Exception
getCurrentDelegation in interface UserDelegatorAutentifierExceptionpublic boolean isAuthentified(String user, String password) throws Exception
isAuthentified in interface UserDelegatorAutentifierExceptionpublic boolean hasDelegations(String user, String password) throws Exception
hasDelegations in interface UserDelegatorAutentifierExceptionpublic UserDelegationsInfo getDelegations(String user, String password) throws Exception
getDelegations in interface UserDelegatorAutentifierExceptionprotected DelegationPermissionReferenceLocator.DelegationWindow createDelegationWindow(Frame f, UserDelegationsInfo info)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.