Skip navigation links
Oracle Fusion Middleware Java API Reference for Oracle ADF Model
12c (12.2.1.4.0)

E81443-01
oracle.adf.model.connection.url

Interface AuthenticationScheme

Every authentication scheme must describe itself as a {@link Node} to allow the scheme to be persisted with the connection metadata. Refer {@link #describe()}. When the connection is loaded by the Connection manager, the connection reconstructs the authentication scheme from the metadata provided by {@link #describe()}. A custom AuthenticationScheme must set the provider attribute when describing its metdata. The provider defines the implementing class of the custom authentication scheme. for e.g. <authentication provider="foo.myCustomAuthScheme" > < .................... > </authentication>

Authentication implementations can then be provided by defining the {@link #authenticate(HTTPConnection con)} and {@link #authenticate(String host, int port)} Two variants are provided, so that custom headers can be set on the {@link HTTPConnection} instance, as well as provide authentication for a particular host/port pair.

Skip navigation links
Oracle Fusion Middleware Java API Reference for Oracle ADF Model
12c (12.2.1.4.0)

E81443-01

Copyright © 1997, 2019, Oracle. All rights reserved.