Closed isuruirj closed 1 week ago
Regarding this issue. If we want to alter this to authorization manager, we need to deal with API changed in interfaces [1]. That means there will be complex code changes as well as possible test case changes.
Simply changing datasource is not a viable solution here as datasource is bound to respective implementation (ex:- [2] [3]).
[1] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.user.api/src/main/java/org/wso2/carbon/user/api/UserStoreManager.java#L406 [2] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/jdbc/JDBCUserStoreManager.java [3] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/authorization/JDBCAuthorizationManager.java
This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!
Hi All,
If we separate the UM tables based on the userstore manager and the authorization manager datasource configurations in the userstore.xml [1]. We have to create UM_HYBRID_REMEMBER_ME table under the datasource which should refer for authorization manager activities.
However, when we use the Remember Me function, could notice that JDBCUserStoreManager is using the datasource configuration under the userstore manager to initiate the DB connection in order to retrieve the data from the UM_HYBRID_REMEMBER_ME table. Hence the particular table is not created under the schema used for userstore manager datasource, could notice the following exception is occurring at the login of the carbon consol.
Affected Product Version: wso2is-5.6.0+1548760736034
[1] - http://xacmlinfo.org/2012/06/22/connecting-wso2-identity-server-with-existing-jdbc-user-store/