A method for adaptively authenticating a subject based on authentication
information, comprising the steps of providing for the receipt of the
authentication information; providing for the performance of Java
Authentication and Authorization Service (JAAS) authentication of the
subject based on the authentication information and wherein successful
authentication of the subject results in the association of a principal
with the subject; providing for the signing of the principal by
determining an authentication code for the principal that is a function
of the principal and a key.