org.n52.security.common.subject
Class LoginNamePrincipal
java.lang.Object
org.n52.security.common.subject.NamePrincipal
org.n52.security.common.subject.LoginNamePrincipal
- All Implemented Interfaces:
- Serializable, Principal, Scope
public class LoginNamePrincipal
- extends NamePrincipal
- implements Serializable
Login name identity of a user.
This class is(shall be) used by login modules which use username/password authentication,
to represent the login name of the user.
- Version:
- $Revision: $
- Author:
- Marko Reiprecht
Created on 16.09.2007
- See Also:
- Serialized Form
Fields inherited from interface org.n52.security.common.subject.Scope |
GLOBAL |
LoginNamePrincipal
public LoginNamePrincipal(String name)
throws IllegalArgumentException
- Constructor creates a new LoginNamePrincipal instance
with the given name.
It throws an IllegalArgumentException if one of the arguments is null.
- Parameters:
name
- the name != null.
- Throws:
IllegalArgumentException
- if one of the arguments is null.
LoginNamePrincipal
public LoginNamePrincipal(String name,
Scope scope)
throws IllegalArgumentException
- Constructor creates a new LoginNamePrincipal instance
with the given name.
It throws an IllegalArgumentException if one of the arguments is null.
- Parameters:
name
- the name != null.scope
- the scope.
- Throws:
IllegalArgumentException
- if one of the arguments is null.
Copyright © 2004–2014 52north.org. All rights reserved.