]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - argeo/security/jackrabbit/ArgeoSystemPrincipal.java
1 package org
.argeo
.security
.jackrabbit
;
3 import java
.security
.Principal
;
5 /** Principal for non-interactive system actions. */
6 class ArgeoSystemPrincipal
implements Principal
{
9 public ArgeoSystemPrincipal(String name
) {
14 public String
getName() {
19 public int hashCode() {
20 return getName().hashCode();
24 public boolean equals(Object obj
) {
25 if (!(obj
instanceof ArgeoSystemPrincipal
))
27 return getName().equals(((ArgeoSystemPrincipal
) obj
).getName());
31 public String
toString() {
32 return "Argeo System (non interactive) name=" + getName();