O'Reilly logo

Securing WebLogic Server 12c by Rinaldi Vincenzo, Luca Masini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing the MBean implementation

Every Authentication Provider must implement the weblogic.security.spi.AuthenticationProviderV2 interface, which is the real contract between WebLogic's Security Services and our implementation, as shown in the following code snippet:

public class PacktAuthProviderImpl implements AuthenticationProviderV2 { private static final Logger LOGGER = Logger.getLogger(PacktAuthProviderImpl.class.getSimpleName()); @Override public void initialize(ProviderMBean mbean, SecurityServices services) { LOGGER.info("PacktAuthProviderImpl.initialize"); } @Override public String getDescription() { return null; } @Override public void shutdown() { LOGGER.info("PacktAuthProviderImpl.shutdown"); } @Override public AppConfigurationEntry ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required