}
@Override
public Collection<? extends GrantedAuthority> getAuthorities() {
List<GrantedAuthority> authoritys=new ArrayList<GrantedAuthority>();
GrantedAuthority authority;
if(this.getAuthority()!=null&&this.getAuthority().size()>0){
for (String auth : this.getAuthority()) {
authority=new SimpleGrantedAuthority(auth);
authoritys.add(authority);
}