Package org.jasig.portal.utils

Examples of org.jasig.portal.utils.PropsMatcher.match()


                final PropsMatcher userAgentMatcher = getUserAgentMatcher();

                if(userAgentMatcher!=null) {
                    // try matching
                    String profileFname=userAgentMatcher.match(userAgent);
                    if(profileFname!=null) {
                        // user agent has been matched
                        if (log.isDebugEnabled())
                            log.debug("GuestUserPreferencesManager::GuestUserPreferencesManager() : " +
                                    "userAgent \"" + userAgent + "\" has matched to a profile " + profileFname);
View Full Code Here


            // try guessing the profile through pattern matching
            if(userProfile==null) {
                final PropsMatcher userAgentMatcher = getUserAgentMatcher();
                if (userAgentMatcher != null) {
                    // try matching
                    final String profileFname = userAgentMatcher.match(userAgent);
                   
                    // user agent has been matched
                    if (profileFname != null) {
                     
                      userProfile = userLayoutStore.getUserProfileByFname(person, profileFname);
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.