use of backtype.storm.security.auth.SingleUserPrincipal in project jstorm by alibaba.
the class BlobStoreTest method getSubject.
public Subject getSubject(String name) {
Subject subject = new Subject();
SingleUserPrincipal user = new SingleUserPrincipal(name);
subject.getPrincipals().add(user);
return subject;
}
Aggregations