Commit c9ed5244 authored by keita.onoguchi's avatar keita.onoguchi

ログインコメントアウト追加

parent bb5056ed
......@@ -23,6 +23,7 @@ public class LoginUser extends org.springframework.security.core.userdetails.Use
return user;
}
//ログイン権限、文字列変更
private Collection<GrantedAuthority> getAuthorities(String role) {
if (role.equals("ADMIN")) {
return AuthorityUtils.createAuthorityList("ROLE_ADMIN", "ROLE_GENERAL");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment