public UserSubject(UserSubject sub) { this(sub.getLogin(), sub.getId(), sub.getRoles()); this.properties = sub.getProperties(); this.am = sub.getAuthenticationMethod(); }
public UserSubject(UserSubject sub) { this(sub.getLogin(), sub.getId(), sub.getRoles()); this.properties = sub.getProperties(); this.am = sub.getAuthenticationMethod(); }
throw ExceptionUtils.toForbiddenException(null, null); if (am != null && !am.equals(accessTokenV.getTokenSubject().getAuthenticationMethod())) { String message = "The token has been authorized by the resource owner " + "using an unsupported authentication method";
throw ExceptionUtils.toForbiddenException(null, null); if (am != null && !am.equals(accessTokenV.getTokenSubject().getAuthenticationMethod())) { String message = "The token has been authorized by the resource owner " + "using an unsupported authentication method";