use of org.wso2.carbon.security.mgt.stub.keystore.GetPaginatedKeystoreInfoResponse in project carbon-identity-framework by wso2.
the class KeyStoreAdminClient method getPaginatedKeystoreInfo.
public PaginatedKeyStoreData getPaginatedKeystoreInfo(String keyStoreName, int pageNumber) throws java.lang.Exception {
try {
GetPaginatedKeystoreInfo request = new GetPaginatedKeystoreInfo();
request.setKeyStoreName(keyStoreName);
request.setPageNumber(pageNumber);
GetPaginatedKeystoreInfoResponse response = stub.getPaginatedKeystoreInfo(request);
return response.get_return();
} catch (java.lang.Exception e) {
log.error("Error in getting paginated keystore info.", e);
throw e;
}
}
use of org.wso2.carbon.security.mgt.stub.keystore.GetPaginatedKeystoreInfoResponse in project product-is by wso2.
the class KeyStoreAdminClient method getPaginatedKeystoreInfo.
public PaginatedKeyStoreData getPaginatedKeystoreInfo(String keyStoreName, int pageNumber) throws Exception {
try {
GetPaginatedKeystoreInfo request = new GetPaginatedKeystoreInfo();
request.setKeyStoreName(keyStoreName);
request.setPageNumber(pageNumber);
GetPaginatedKeystoreInfoResponse response = stub.getPaginatedKeystoreInfo(request);
return response.get_return();
} catch (Exception e) {
log.error("Error in getting paginated keystore info.", e);
throw new Exception("Error in getting paginated keystore info.");
}
}
Aggregations