com.soebes.subversion.sapm
Class UserAnonymous
java.lang.Object
com.soebes.subversion.sapm.User
com.soebes.subversion.sapm.UserAnonymous
- All Implemented Interfaces:
- IPrincipal
public class UserAnonymous
- extends User
This user is the user who represents anonymous.
In our case this means the user does not exist, cause
no user has been authenticated. So no user name is available.
- Author:
- Karl Heinz Marbaise
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 . |
UserAnonymous
public UserAnonymous()
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.