@Override public String[] getUserList(String claim, String claimValue, String profileName) throws UserStoreException { try { return stub.getUserList(claim, claimValue, profileName); } catch (Exception e) { handleException(e.getMessage(), e); } return new String[0]; }
@Override public String[] getUserList(String claim, String claimValue, String profileName) throws UserStoreException { try { return stub.getUserList(claim, claimValue, profileName); } catch (Exception e) { handleException(e.getMessage(), e); } return null; }
/** * Return userlist based on a claim * * @param claim * @param claimValue * @return * @throws org.wso2.carbon.appmgt.api.AppManagementException */ public String[] getUserList(String claim, String claimValue) throws AppManagementException { String[] user ; try { user = userStoreManagerStub.getUserList(claim, claimValue, null); return user; } catch (Exception e) { throw new AppManagementException("Error when retriving userlist", e); } } }