GrantedAuthorityImpl.java 639 B

1234567891011121314151617181920212223242526272829
  1. //package com.ydtech.security;
  2. //
  3. //import org.springframework.security.core.GrantedAuthority;
  4. //
  5. ///**
  6. // * 权限封装
  7. // *
  8. // * @author Louis
  9. // * @date Jun 29, 2019
  10. // */
  11. //public class GrantedAuthorityImpl implements GrantedAuthority {
  12. //
  13. // private static final long serialVersionUID = 1L;
  14. //
  15. // private String authority;
  16. //
  17. // public GrantedAuthorityImpl(String authority) {
  18. // this.authority = authority;
  19. // }
  20. //
  21. // public void setAuthority(String authority) {
  22. // this.authority = authority;
  23. // }
  24. //
  25. // @Override
  26. // public String getAuthority() {
  27. // return this.authority;
  28. // }
  29. //}