I've written my own Authentication Handler to do some extra things after
authentication. I've overridden the authenticateUsernamePasswordInternal
method and the first thing I do is run the authenticate method against the
delegate:
@Override
protected HandlerResult authenticateUsernamePasswordInternal(final
UsernamePasswordCredential usernamePasswordCredential)
throws GeneralSecurityException, PreventedException {
/** Authenticate. */
final HandlerResult result =
this.delegate.authenticate(usernamePasswordCredential);
What I need to do is check some of the ldapEntry attributes that get
populated after authentication (the delegate is
an LdapAuthenticationHandler) in order to decide whether or not to do the
"extra things".
Do I have access to that information from within my authentication handler
at this point, either from the delegate or the HandlerResult? Could anyone
provide guidance, even guidance on what additional information I need to
provide you? Thank you.
*daniel spillers*
University of Arkansas at Little Rock <http://ualr.edu/> | Information
Technology Services
501.916.3010 | ualr.edu/itservices
--
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BB8tW5fNqznprsR40--_KNX2kT5xRO-_ChXEujMxrxEpSPBxw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.