com.soebes.subversion.sapm
Class UserAsterik

java.lang.Object
  extended by com.soebes.subversion.sapm.User
      extended by com.soebes.subversion.sapm.UserAsterik
All Implemented Interfaces:
IPrincipal

public class UserAsterik
extends User

This user is the user who represents anybody.

Author:
Karl Heinz Marbaise

Constructor Summary
UserAsterik()
           
 
Method Summary
 boolean contains(String user)
          Will check to see if the given name is contained in the group if the instance represents a Group or if the given name is the same if the instance represents a single User.
 
Methods inherited from class com.soebes.subversion.sapm.User
getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserAsterik

public UserAsterik()
Method Detail

contains

public boolean contains(String user)
Description copied from interface: IPrincipal
Will check to see if the given name is contained in the group if the instance represents a Group or if the given name is the same if the instance represents a single User.

Specified by:
contains in interface IPrincipal
Overrides:
contains in class User
Parameters:
user - The name we check for.
Returns:
true if the name is the same or contained false otherwise.


Copyright © 2010-2011 SoftwareEntwicklung Beratung Schulung. All Rights Reserved.