The Server Authentication Context is an extra (required) indirection between the Application Server and the actual Server Authentication Module (SAM). This can be used to encapsulate any number of SAMs and either select one at run-time, invoke them all in order, etc.
Since this simple example only has a single SAM, we delegate directly to that one. Note that this {@link ServerAuthContext}and the {@link ServerAuthModule} (SAM) share a common base interface: {@link ServerAuth}.
@author Arjan Tijms
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.