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 ...

Get Securing WebLogic Server 12c now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.