1
0
mirror of synced 2026-07-20 01:55:08 +00:00

SEC-2683: Correct spelling of assignamble in AuthenticationPrincipalResolver Exception

This commit is contained in:
Rob Winch
2014-07-18 13:57:13 -05:00
parent 85a37bdc02
commit 89d80ed5c9
@@ -106,7 +106,7 @@ public final class AuthenticationPrincipalArgumentResolver implements
if(principal != null && !parameter.getParameterType().isAssignableFrom(principal.getClass())) {
AuthenticationPrincipal authPrincipal = findMethodAnnotation(AuthenticationPrincipal.class, parameter);
if(authPrincipal.errorOnInvalidType()) {
throw new ClassCastException(principal + " is not assiable to " + parameter.getParameterType());
throw new ClassCastException(principal + " is not assignable to " + parameter.getParameterType());
} else {
return null;
}