# Using the Sample Code

The RSA Authentication Agent API for Java includes a finished API application that you can run as a sample, as well as sample code for using the Java Authentication and Authorization Service (JAAS) implementation for BEA WebLogic Server. For information about using the sample code, click here or see /examples/sample/build.xml. For information about using the JAAS sample, click here or see /examples/securid_JAAS/build.xml.