Plugable Security Adapter framework along with default implementations such as the JAAS implementation.