core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java
private boolean isMatch(String methodName, String mappedName) {
		return (mappedName.endsWith("*") && methodName.startsWith(mappedName.substring(0,
				mappedName.length() - 1)))
				|| (mappedName.startsWith("*") && methodName.endsWith(mappedName
						.substring(1, mappedName.length())));
	}
private boolean isMatch(String methodName, String mappedName) {
		return (mappedName.endsWith("*") && methodName.startsWith(mappedName.substring(0,
				mappedName.length() - 1)))
				|| (mappedName.startsWith("*") && methodName.endsWith(mappedName
						.substring(1, mappedName.length())));
	}
Return if the given method name matches the mapped name. The default implementation
checks for "xxx" and "xxx" matches.

@param methodName the method name of the class
@param mappedName the name in the descriptor

@return if the names match