@Test(enabled = false) public void testInit() { System.out.println("init"); TAMConnector connector = new TAMConnector(); try { connector.init(config); } catch (Exception e) { Assert.fail("PDAdmin initialisation is failed"); } }
public void init(Configuration config) { try { synchronized (TAMConnector.class) { configuration = (TAMConfiguration) config; try { if (count == 0) { PDMessages msgs = new PDMessages(); LOG.info("Initializing PDAdmin."); PDAdmin.initialize(TAMConfiguration.CONNECTOR_NAME, msgs); processMessages("init", msgs); } count++; } catch (PDException e) { convertPDExceptionToConnectorException(e); } createPDContext(); } } catch (Exception e) { dispose(); if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new ConnectorException(e); } } LOG.info("initialized TAMConnector"); }
TAMConnector implements PoolableConnector, AuthenticateOp, CreateOp, SchemaOp, TestOp,
        DeleteOp, UpdateOp, SearchOp<String> { public void init(Configuration config) { try { synchronized (TAMConnector.class) { configuration = (TAMConfiguration) config; try { if (count == 0) { PDMessages msgs = new PDMessages(); LOG.info("Initializing PDAdmin."); PDAdmin.initialize(TAMConfiguration.CONNECTOR_NAME, msgs); processMessages("init", msgs); } count++; } catch (PDException e) { convertPDExceptionToConnectorException(e); } createPDContext(); } } catch (Exception e) { dispose(); if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new ConnectorException(e); } } LOG.info("initialized TAMConnector"); } }
TAMConnector implements PoolableConnector, AuthenticateOp, CreateOp, SchemaOp, TestOp,
        DeleteOp, UpdateOp, SearchOp<String> { public void init(Configuration config) { try { synchronized (TAMConnector.class) { configuration = (TAMConfiguration) config; try { if (count == 0) { PDMessages msgs = new PDMessages(); LOG.info("Initializing PDAdmin."); PDAdmin.initialize(TAMConfiguration.CONNECTOR_NAME, msgs); processMessages("init", msgs); } count++; } catch (PDException e) { convertPDExceptionToConnectorException(e); } createPDContext(); } } catch (Exception e) { dispose(); if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new ConnectorException(e); } } LOG.info("initialized TAMConnector"); }  }
TAMConnector implements PoolableConnector, AuthenticateOp, CreateOp, SchemaOp, TestOp,
        DeleteOp, UpdateOp, SearchOp<String> { public void init(Configuration config) { try { synchronized (TAMConnector.class) { configuration = (TAMConfiguration) config; try { if (count == 0) { PDMessages msgs = new PDMessages(); LOG.info("Initializing PDAdmin."); PDAdmin.initialize(TAMConfiguration.CONNECTOR_NAME, msgs); processMessages("init", msgs); } count++; } catch (PDException e) { convertPDExceptionToConnectorException(e); } createPDContext(); } } catch (Exception e) { dispose(); if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new ConnectorException(e); } } LOG.info("initialized TAMConnector"); }  Configuration getConfiguration(); void init(Configuration config); void dispose(); void checkAlive(); Uid create(final ObjectClass objClass, final Set<Attribute> attributes,
            final OperationOptions options); FilterTranslator<String> createFilterTranslator(ObjectClass objClass,
            OperationOptions options); void executeQuery(ObjectClass objClass, String query, ResultsHandler handler,
            OperationOptions options); void test(); Uid update(ObjectClass objClass, Uid uid, Set<Attribute> replaceAttributes,
            OperationOptions options); void delete(final ObjectClass objClass, final Uid uid, final OperationOptions options); Schema schema(); Uid authenticate(ObjectClass oc, String user, GuardedString gs, OperationOptions oo); }
TAMConnector implements PoolableConnector, AuthenticateOp, CreateOp, SchemaOp, TestOp,
        DeleteOp, UpdateOp, SearchOp<String> { public void init(Configuration config) { try { synchronized (TAMConnector.class) { configuration = (TAMConfiguration) config; try { if (count == 0) { PDMessages msgs = new PDMessages(); LOG.info("Initializing PDAdmin."); PDAdmin.initialize(TAMConfiguration.CONNECTOR_NAME, msgs); processMessages("init", msgs); } count++; } catch (PDException e) { convertPDExceptionToConnectorException(e); } createPDContext(); } } catch (Exception e) { dispose(); if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new ConnectorException(e); } } LOG.info("initialized TAMConnector"); }  Configuration getConfiguration(); void init(Configuration config); void dispose(); void checkAlive(); Uid create(final ObjectClass objClass, final Set<Attribute> attributes,
            final OperationOptions options); FilterTranslator<String> createFilterTranslator(ObjectClass objClass,
            OperationOptions options); void executeQuery(ObjectClass objClass, String query, ResultsHandler handler,
            OperationOptions options); void test(); Uid update(ObjectClass objClass, Uid uid, Set<Attribute> replaceAttributes,
            OperationOptions options); void delete(final ObjectClass objClass, final Uid uid, final OperationOptions options); Schema schema(); Uid authenticate(ObjectClass oc, String user, GuardedString gs, OperationOptions oo); static final String ATTR_REGISTRY_NAME; static final String ATTR_FIRST_NAME; static final String ATTR_LAST_NAME; static final String ATTR_SSO_USER; static final String ATTR_PASSWORD_POLICY; static final String ATTR_EXPIRE_PASSWORD; static final String ATTR_DELETE_FROM_REGISTRY; static final String ATTR_SYNC_GSO_CREDENTIALS; static final String ATTR_IMPORT_FROM_REGISTRY; static final String ATTR_GROUP_MEMBERS; static final String ATTR_GSO_WEB_CREDENTIALS; static final String ATTR_GSO_GROUP_CREDENTIALS; static final String TYPE_GSO_GROUP_RESOURCE; static final String TYPE_GSO_RESOURCE; static final String TOKEN_GSO_RESOURCE; }