Hi,
I'd like to add a custom principal to the subject in addition to the username and password, ie. a clientID. I'm using form based login. The sdk provides TextInputCallback for this, but I'm not sure if this is intended to work w/ j_security_check.
In addition to NameCallback and PasswordCallback, the SecurityAssociationHandler accepts SecurityAssociationCallback, but this doesn't allow anything other than a name and credential.
Is there a way to do this using the JBoss JAAS classes without concatenating delimited values onto the username?