package fr.sle.model;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.Collection;

/**
 * @author slemoine
 */
public class SamlUserDetails implements UserDetails {
    @Override
    public Collection<? extends GrantedAuthority> getAuthorities() {
        return null;
    }

    @Override
    public String getPassword() {
        return null;
    }

    @Override
    public String getUsername() {
        return null;
    }

    @Override
    public boolean isAccountNonExpired() {
        return false;
    }

    @Override
    public boolean isAccountNonLocked() {
        return false;
    }

    @Override
    public boolean isCredentialsNonExpired() {
        return false;
    }

    @Override
    public boolean isEnabled() {
        return false;
    }
}


@@ -142,16 +142,44 @@
 tails;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -373,35 +373,48 @@
         return n
-ull
+ew ArrayList%3C%3E()
 ;%0A    %7D%0A%0A    @Ov

Fix npe on auhtorities