All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.security.GroupPrincipal Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
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