org.infinispan.security.GroupPrincipal Maven / Gradle / Ivy
package org.infinispan.security;
import java.security.Principal;
/**
* @author Tristan Tarrant <[email protected]>
* @since 10.0
**/
public class GroupPrincipal implements Principal {
private final String name;
public GroupPrincipal(String name) {
this.name = name;
}
@Override
public String getName() {
return name;
}
@Override
public String toString() {
return "RolePrincipal{" +
"name='" + name + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy