use of com.ibm.as400.access.RequestNotSupportedException in project openicf by Evolveum.
the class OS400Connector method fetchPasswordLevel.
protected void fetchPasswordLevel() throws ConnectorException {
try {
SystemValue systemValue = new SystemValue(as400, "QPWDLVL");
Object qpwdlvl = systemValue.getValue();
if (qpwdlvl instanceof Integer) {
this.passwordLevel = ((Integer) qpwdlvl).intValue();
}
} catch (RequestNotSupportedException e) {
this.passwordLevel = QPWDLVL_UNSET;
LOG.error("QPWDLVL System Value not supported on this resource");
} catch (Exception e) {
throw new ConnectorException(e);
}
}
Aggregations