no.tornado.brap.auth.AnonymousPrincipal Maven / Gradle / Ivy
package no.tornado.brap.auth;
import java.io.Serializable;
/**
* Default principal that will be returned from the AuthenticationContext
* if the active AuthenticationProvider
does not set another one.
*/
public class AnonymousPrincipal implements Serializable {
public String getName() {
return getClass().getCanonicalName();
}
}