/** * Get typeURI value for the specified attribute alias. */ public String getAttributeTypeUri(String alias) { return _parameters.getParameterValue("type." + alias); }
/** * Get typeURI value for the specified attribute alias. */ public String getAttributeTypeUri(String alias) { return _parameters.getParameterValue("type." + alias); }
/** * Gets a the value of the parameter with the specified name. * * @param name The name of the parameter, * without the openid.<extension_alias> prefix. * @return The parameter value, or null if not found. */ public String getParameterValue(String name) { return _parameters.getParameterValue(name); }
/** * Gets a the value of the parameter with the specified name. * * @param name The name of the parameter, * without the openid.<extension_alias> prefix. * @return The parameter value, or null if not found. */ public String getParameterValue(String name) { return _parameters.getParameterValue(name); }
/** * Gets a the value of the parameter with the specified name. * * @param name The name of the parameter, * without the openid.<extension_alias> prefix. * @return The parameter value, or null if not found. */ public String getParameterValue(String name) { return _parameters.getParameterValue(name); }
/** * Gets the status of the Store Response if the 'status' parameter is part * of the response, or null otherwise. */ public String getErrorDescription() { return _parameters.getParameterValue("error"); }
/** * Gets a the value of the parameter with the specified name. * * @param name The name of the parameter, * without the openid.<extension_alias> prefix. * @return The parameter value, or null if not found. */ public String getParameterValue(String name) { return _parameters.getParameterValue(name); }
/** * Gets the status of the Store Response if the 'status' parameter is part * of the response, or null otherwise. */ public String getErrorDescription() { return _parameters.getParameterValue("error"); }
/** * Get typeURI value for the specified attribute alias. */ public String getAttributeTypeUri(String alias) { return _parameters.getParameterValue("type." + alias); }
/** * Gets a the value of the parameter with the specified name. * * @param name The name of the parameter, * without the openid.<extension_alias> prefix. * @return The parameter value, or null if not found. */ public String getParameterValue(String name) { return _parameters.getParameterValue(name); }
/** * Gets the status of the Store Response if the 'status' parameter is part * of the response, or null otherwise. */ public String getErrorDescription() { return _parameters.getParameterValue("error"); }
/** * Gets a the value of the parameter with the specified name. * * @param name The name of the parameter, * without the openid.<extension_alias> prefix. * @return The parameter value, or null if not found. */ public String getParameterValue(String name) { return _parameters.getParameterValue(name); }
/** * Returns true if the Store Response is a failure message, true if it is * a success response. */ public boolean hasFailed() { return "store_response_failure".equals( _parameters.getParameterValue("mode") ); }
/** * @return list of preferred languages. Empty list returned if none. */ public List<String> getLanguages() { String languageString = this.parameters .getParameterValue(UserInterfaceMessage.LANGUAGE_PREFIX); if (null == languageString) { return new LinkedList<String>(); } String[] languages = languageString.split(","); return Arrays.asList(languages); }
/** * Returns all the group names that the user actually belongs to (among the list provided * in the {@link TeamExtensionRequest}. */ public Set<String> getTeamMembership() { String v = params.getParameterValue("is_member"); if (v==null) return Collections.emptySet(); // no value set by the server return new TreeSet<String>(Arrays.asList(v.split(","))); } }
/** * Gets the optional 'update_url' parameter if available, or null otherwise. */ public String getUpdateUrl() { return _parameters.hasParameter("update_url") ? _parameters.getParameterValue("update_url") : null; }
/** * Gets the optional policy URL parameter if available, or null otherwise. */ public String getUpdateUrl() { return _parameters.hasParameter("policy_url") ? _parameters.getParameterValue("policy_url") : null; }
/** * Gets the optional 'update_url' parameter if available, or null otherwise. */ public String getUpdateUrl() { return _parameters.hasParameter("update_url") ? _parameters.getParameterValue("update_url") : null; }
public int getCount(String alias){ if("unlimited".equalsIgnoreCase(_parameters.getParameterValue("count." + alias))){ return 1; } else { return super.getCount(alias); } }
/** * Gets the optional 'update_url' parameter if available, or null otherwise. */ public String getUpdateUrl() { return _parameters.hasParameter("update_url") ? _parameters.getParameterValue("update_url") : null; }