1. 程式人生 > >openfire使用者整合遇到UnsupportedOperationException異常及解決方法

openfire使用者整合遇到UnsupportedOperationException異常及解決方法

passwordKey6g7Ut3fGLi42wWu
xmpp.socket.ssl.activetrue
xmpp.domaintest-pc
provider.admin.classNameorg.jivesoftware.openfire.admin.DefaultAdminProvider
provider.lockout.classNameorg.jivesoftware.openfire.lockout.DefaultLockOutProvider
jdbcUserProvider.useConnectionProvidertrue
provider.auth.classNameorg.jivesoftware.openfire.auth.JDBCAuthProvider
xmpp.auth.anonymoustrue
provider.group.classNameorg.jivesoftware.openfire.group.DefaultGroupProvider
provider.vcard.classNameorg.jivesoftware.openfire.vcard.DefaultVCardProvider
provider.securityAudit.classNameorg.jivesoftware.openfire.security.DefaultSecurityAuditProvider
xmpp.session.conflict-limit0
update.lastCheck1405315189084
jdbcAuthProvider.passwordSQLSELECT VC_PWD FROM ASSET.OF_PERSON_TEST WHERE VC_ID=?
jdbcAuthProvider.passwordTypeplain
jdbcAuthProvider.passwordTypeplain
jdbcProvider.connectionStringjdbc:oracle:thin:@193.160.16.86:1521/orcl.com
jdbcProvider.driveroracle.jdbc.driver.OracleDriver
[email protected]

jdbcAuthProvider.useConnectionProvidertrue
provider.user.classNameorg.jivesoftware.openfire.user.JDBCUserProvider
jdbcUserProvider.allUsersSQLSELECT VC_NAME FROM ASSET.OF_PERSON_TEST
jdbcUserProvider.userCountSQLSELECT count(*) FROM ASSET.OF_PERSON_TEST
jdbcUserProvider.usernameFieldVC_NAME   <---從原始碼來看,沒有實際用途,隨便配置上就行
jdbcUserProvider.nameFieldname<---<---從原始碼來看,沒有實際用途,隨便配置上就行
jdbcUserProvider.emailFieldemail<---<---從原始碼來看,沒有實際用途,隨便配置上就行
jdbcUserProvider.loadUserSQLSELECT VC_USERNAME,VC_EMAIL,VC_OTHER FROM ASSET.OF_PERSON_TEST WHERE VC_ID=?  <---從原始碼來看,檢索出來的結果至少要有兩列,第一列做為使用者名稱稱,第二列做為email地址,多出來的列不處理。