I might have titled this topic "access to LdapEntry attributes (perhaps 
stored in principalAttributeMap?) instead of authenticatedEntryAttributes.

On Monday, September 26, 2016 at 2:22:24 PM UTC-5, djspillers wrote:
>
> 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/080e9ebd-58d4-4b86-903e-c656247d1b5b%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to