Examples of IUsernameAttributeProvider


Examples of org.jasig.services.persondir.support.IUsernameAttributeProvider

           
            return null;
        }
       
        //Get the username from the query, if specified
        final IUsernameAttributeProvider usernameAttributeProvider = this.getUsernameAttributeProvider();
       
        //Execute the query in the subclass
        final List<ILocalAccountPerson> unmappedPeople = localAccountDao.getPeople(queryBuilder);
        if (unmappedPeople == null) {
            return null;
View Full Code Here

Examples of org.jasig.services.persondir.support.IUsernameAttributeProvider

        //If configured explicitly use it
        if (this.unmappedUsernameAttribute != null) {
            return this.unmappedUsernameAttribute;
        }
       
        final IUsernameAttributeProvider usernameAttributeProvider = this.getUsernameAttributeProvider();
        return usernameAttributeProvider.getUsernameAttribute();
    }
View Full Code Here

Examples of org.jasig.services.persondir.support.IUsernameAttributeProvider

     * Returns an empty <code>Set</code>, per the API documentation, because we
     * don't use any attributes in queries.
     */
    @Override
    public Set<String> getAvailableQueryAttributes() {
        final IUsernameAttributeProvider usernameAttributeProvider = super.getUsernameAttributeProvider();
        return Collections.singleton(usernameAttributeProvider.getUsernameAttribute());
    }
View Full Code Here

Examples of org.jasig.services.persondir.support.IUsernameAttributeProvider

        if (this.logger.isDebugEnabled()) {
            this.logger.debug("invoking getPeopleWithMultivaluedAttributes(" + query + ")");
        }

        final IUsernameAttributeProvider usernameAttributeProvider = super.getUsernameAttributeProvider();
        final String queryUid = usernameAttributeProvider.getUsernameFromQuery(query);
        if (queryUid == null) {
            this.logger.debug("No username attribute found in query, returning null");
        } else {

            final HttpServletRequest req = portalRequestUtils.getCurrentPortalRequest();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.