com.soebes.subversion.sapm
Class UserAuthenticated
java.lang.Object
com.soebes.subversion.sapm.User
com.soebes.subversion.sapm.UserAuthenticated
- All Implemented Interfaces:
- IPrincipal
public class UserAuthenticated
- extends User
This user is the user who represents an authenticated user.
In our case this means the user exists and has a name.
It means only to have name not a special name.
- 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 . |
UserAuthenticated
public UserAuthenticated()
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.