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 getLoginModuleConfiguration() { return null; } @Override public AppConfigurationEntry getAssertionModuleConfiguration() { return null; }...