public class DelegationSecurePermissionSecureReferenceLocator extends PermissionSecureReferenceLocator implements UserDelegatorAutentifier
SecureReferenceLocator.BMessage, SecureReferenceLocator.LogStream, SecureReferenceLocator.SMessage, SecureReferenceLocator.TWatchDog, SecureReferenceLocator.UpdateListThreadUtilReferenceLocator.Message| Modifier and Type | Field and Description |
|---|---|
protected Entity |
authenticationEntity |
protected String |
authenticationEntityName |
protected DelegationInfo |
currentDelegations |
static String |
DELEGATE_COLUMN |
protected String |
delegateColumn |
static String |
DELEGATION_ENTITY |
protected DelegationEntity |
delegationEntity |
protected String |
delegationEntityName |
protected String |
delegationUserColumn |
static String |
M_ERROR_DELEGATION |
protected String |
passwordColumn |
protected String |
userColumn |
businessCalendarFile, clientPermissionsColumn, definitionPermissionsGroupsFile, entityNames, licensePermission, locale, PERMISSION_GROUP_DEFINITION, permissionEntity, permissionGroupKeyColumnName, profileColumn, profileEntity, serverPermissionsColumn, serverSecurityManagerClass, userGroupsEntityNameADMIN_PASSWORD, ADMIN_USER, ALLOW_CERTIFICATE_LOGIN, allowSSOLogin, attachmentEntity, attachmentPath, baseLogFileName, buffWriterLog, CA_CERTIFICATES_PROP, CHECK_SESSIONS_TIME, checkSessionsTime, CLASS_ELEMENT, clientWatchUserList, CLOSE_WAIT_TIME, closedServer, compressionEnabled, compressionThresholds, CONTROL_ACCESS_ATTEMPTS, controlAccessAttempt, CRL_CERTIFICATES_PROP, currentUserList, DATABASE_PROPERTIES, databaseEntityManager, defaultNoticeDestinyEntityClass, defaultNoticeEntityClass, domain, DOMAIN, encrypt, entitiesClass, entitiesclasses_extends, errorAccessControl, 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_FORMRULE_COLUMN, FORM_PROVIDER_ENTITY_FORMXML_COLUMN, formManagerProviderEntity, formManagerProviderEntityFormNameColumn, formManagerProviderEntityIdColumn, formManagerProviderEntityInteractionManagerColumn, formProviderEntity, formProviderEntityFormNameColumn, formProviderEntityFormRuleColumn, formProviderEntityFormXMLColumn, ID_CARD_COLUMN, idCardColumn, idHostList, IMAGE_PROVIDER_ENTITY, IMAGE_PROVIDER_ENTITY_IMAGEBYTES_COLUMN, IMAGE_PROVIDER_ENTITY_IMAGENAME_COLUMN, imageProviderEntity, imageProviderEntityImageBytesColumn, imageProviderEntityImageNameColumn, isZipLogFile, JAAS_CONFIG_FILE, jaasconfigfile, kdc, KDC, krealm, KREALM, lastSessionAccessTimeList, lcms, LDAP_HOST, LDAP_PORT, LDAP_SSL, LDAP_USERDN_KEY, ldaphost, ldapport, ldapSSL, loadedEntities, LOCALE_ENTITY, LOCALE_SUFFIX, localeEntity, localeSuffix, 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, MODULE_DISCOVERY, moduleManager, MODULES, MULTICONNECTION_MANAGER, multiConnectionManager, multiConnectionManagerPath, NAME_ELEMENT, NOTICE_ENTITY_DESTINY_NAME, NOTICE_ENTITY_NAME, noticesPath, noticeSystem, NUMBER_ACCESS_ATTEMPTS, numberAccessAttemps, oneSessionAllowed, PACKAGE, packageS, PARAM_ELEMENT, parserProperties, pathProperties, port, PREFERENCE_CLASS, PRINTING_TEMPLATE_ENTITY, printingTemplatesEntity, PRIVATE_REPORT_STORE, privilegedId, propertiesEntities, REFERENCE_ELEMENT, referenceClassNames, referenceInstances, referenceParameters, REFERENCES, REFERENCES_ELEMENT, REMOTE_OPERATION_MANAGER, REMOTE_PREFERENCES_CONFIGURATION_FILE, REMOTE_REFERENCE_ELEMENT, REMOTE_REFERENCES, REMOTE_REFERENCES_ELEMENT, remoteAdministrationMessagesBuffer, remoteLogManager, 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, sessionLocale, sessionLocaleId, SSO_CONFIG_FILE, ssoconfigfile, ssoServer, startSessionTimeList, TEMPORARY_PASSWORDS_DURATION, temporaryUsersPasswords, temporaryUsersTimestamps, testRE, TOOLBAR_PROVIDER_ENTITY, TOOLBAR_PROVIDER_ENTITY_XML_COLUMN, toolbarProviderEntity, toolbarProviderEntityXMLColumn, updateListThread, USE_APPLICATION_USER, useApplicationUser, USER_DN_STRING, USER_DNS_STRING, userDNString, userIdList, userInfoListModel, VALUE_ELEMENT, watchDog, xmlDynamicMenu, xmlDynamicToolbar, ZIP_LOG_FILErefPERMISSIONS_KEYENTITY_LIST_KEY, USER_PERMISSIONS_KEY, USER_PROFILE_PERMISSIONS_KEYACCESS_DENIEDADMINISTRATION_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 |
|---|
DelegationSecurePermissionSecureReferenceLocator(int port,
Hashtable parameters) |
DelegationSecurePermissionSecureReferenceLocator(int puerto,
Hashtable parameters,
String delegationsEntityName,
String authentificationEntityName) |
DelegationSecurePermissionSecureReferenceLocator(int puerto,
Hashtable parameters,
String delegationsEntityName,
String authentificationEntityName,
String userColumn,
String passwordColumn,
String delegationUserColumn,
String delegateColumn) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
createSession(String user,
ClientWatch client) |
void |
endSession(int sessionId)
This method finishes a client session.
|
String |
getCurrentDelegation(String user,
int sessionId) |
UserDelegationsInfo |
getDelegations(String user,
String password) |
boolean |
hasDelegations(String user,
String password) |
protected void |
initEntities() |
boolean |
isAuthentified(String user,
String password) |
void |
setDelegateColumn(String s) |
void |
setDelegationUserColumn(String s) |
void |
setPasswordColumn(String s) |
void |
setUserColumn(String s) |
int |
startSession(String user,
String password,
String asUser,
ClientWatch cw) |
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, updateLaddRemoteReportStore, blockUserDB, changePassword, checkBlockUserDB, checkLogFileChange, checkNoticeAsSend, checkNoticeSent, checkTemporaryPassword, checkToken, closeLockedConnections, closeServer, closeServer, closeSession, closeSession, configureConnectionManager, configureModuleRemoteReferences, configureMultiConnectionManager, configureReference, configureReferences, configureRemoteReference, configureRemoteReferences, createConnectionManager, createConnectionManager, createDatabaseEntityManager, createEntity, createReference, createRemoteReference, endAdministrationSession, finishAdministrationRemoteSession, flushLogBuffer, forceFinishSession, foundModuleEntityClass, freeServerResources, generatePrivilegedId, getAccessControl, getAttachmentEntity, getCertificateFromText, getConfigurationParameters, getConnectedSessionIds, getConnectedUsers, getConnectionInfo, getConnectionManager, getDataCompressionThreshold, getDEBUGValueRemote, getDefaultPackage, getEntity, getEntity, getEntityReference, getEntityReference, getEntityReferenceFromServer, getErrorAccessControl, getFormManagerParameters, getImage, getInternalNotices, getLastNCharactersFromLogFile, getLContent, getLInfoObject, getLoadedEntities, getLoadedEntities, getLocale, getLocaleEntity, getLocaleId, getLogFile, getLoginEntityName, getLValue, getMessages, getNewMailNotice, getNextLogFileIndex, getNodeValue, getNoticeEntity, getNoticeEntityDestinyName, getNoticeEntityName, getNoticeTypes, getParameters, getPasswordFromCert, getPasswordFromCert, getPrintingTemplateEntity, getReference, getRemoteAdministrationMessages, getRemoteApplicationPreferences, getRemoteLogManager, getRemoteOperationManager, getRemotePreferencesFile, getRemoteReference, getRemoteReference, getRemoteReportStore, getReportEntityNames, getSentNotices, getSerial, getServerServiceName, getServerTimeZone, getSessionId, getSessionInfo, getSpecialEntity, getStartSessionTime, getSuffixString, getSystemInfo, getTemporaryPassword, getToken, getUser, getUserFromCert, getUserFromCert, getUserId, getUserIds, getUserInfoListModel, getXMLForm, getXMLMenu, getXMLRules, getXMLToolbar, hasSession, hasSession, isAllowCertificateLogin, isDevelopementL, isLDAPUser, isMultiConnectionManager, isValidCertificateText, loadEntity, localAuthenticate, ok, ok, ok, ping, reloadXMLMenu, reloadXMLToolbar, removeEntity, removeEntity, removeEntity, removeReceivedNotices, removeSentNotices, restartServer, returnMessage, sendMessage, sendMessage, sendMessageToAll, sendNotice, sendRemoteAdministrationMessages, setCompressionEnabled, setDataCompressionThreshold, setDEBUGValueRemote, setDefaultLocaleId, setLocale, setMultiConnectionManager, setNoticesRead, setRemotePreferencesFile, setSessionIdLastAccessTime, startAdministrationRemoteSession, startCertificateSession, startSessionInner, stopServer, supportChangePassword, testConnectionSpeed, updateL, updateListInfo, zipLogFileclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic static String M_ERROR_DELEGATION
public static final String DELEGATE_COLUMN
public static final String DELEGATION_ENTITY
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 DelegationSecurePermissionSecureReferenceLocator(int port,
Hashtable parameters)
throws Exception
Exceptionpublic DelegationSecurePermissionSecureReferenceLocator(int puerto,
Hashtable parameters,
String delegationsEntityName,
String authentificationEntityName)
throws Exception
Exceptionpublic DelegationSecurePermissionSecureReferenceLocator(int puerto,
Hashtable parameters,
String delegationsEntityName,
String authentificationEntityName,
String userColumn,
String passwordColumn,
String delegationUserColumn,
String delegateColumn)
throws Exception
Exceptionpublic void setUserColumn(String s)
public void setPasswordColumn(String s)
public void setDelegationUserColumn(String s)
public void setDelegateColumn(String s)
public 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 UserDelegatorAutentifierExceptionpublic String getCurrentDelegation(String user, int sessionId) throws Exception
getCurrentDelegation in interface UserDelegatorAutentifierExceptionpublic void endSession(int sessionId)
throws Exception
EntityReferenceLocatorendSession in interface EntityReferenceLocatorendSession in class PermissionSecureReferenceLocatorsessionId - Client session identifierExceptionpublic int startSession(String user, String password, String asUser, ClientWatch cw) throws Exception
startSession in interface UserDelegatorAutentifierExceptionprotected int createSession(String user, ClientWatch client) throws Exception
ExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.