PREV CLASS NEXT CLASS
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.services.contentmapping
Interface LongestPathMatch
public interface LongestPathMatchThis interface represents the result of a longest path match.
- Since:
- 7.0.0.0
Method Summary java.util.List<ContentMapping> getCandidateContentMappings()
If there are multiple best matches, this method returns the list of all best matching content mappings.ContentMapping getContentMapping()
Return the disambiguated content mapping responsible for the best match, or null if no such mapping exists.boolean requiresAuthentication()
Check if the current user should be challenged to log-in to portal.
Method Detail getContentMapping
ContentMapping getContentMapping()
- Returns the disambiguated content mapping responsible for the best match, or null if no such mapping exists.
getCandidateContentMappings
java.util.List<ContentMapping> getCandidateContentMappings()
- If there are multiple best matches, this method returns the list of all best matching content mappings. If there is only one best match or no matches at all, this method returns null.
requiresAuthentication
boolean requiresAuthentication()PREV CLASS NEXT CLASS
- Checks if the current user should be challenged to log-in to portal.
- Returns:
- true if and only if the following conditions hold true:
- The user is not yet authenticated
- The longest patch match did not return a result (i.e. calling getContentMapping() returns null).
- The longest patch match may return a non-empty result for the user after login (i.e. there actually are matching portal resources but the anonymous user is not authorized to see those).
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD