org.n52.security.common.subject
Class UsernameIDPrincipal
java.lang.Object
org.n52.security.common.subject.NamePrincipal
org.n52.security.common.subject.UsernameIDPrincipal
- All Implemented Interfaces:
- Serializable, Principal, Scope
public class UsernameIDPrincipal
- extends NamePrincipal
Indicates the unique id of a user.
todo: better rename to UserIdPrincipal
- Version:
- $Revision: $
- Author:
- Marko Reiprecht
Created on 18.07.2008
- See Also:
- Serialized Form
Fields inherited from interface org.n52.security.common.subject.Scope |
GLOBAL |
UsernameIDPrincipal
public UsernameIDPrincipal(String name)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
UsernameIDPrincipal
public UsernameIDPrincipal(String name,
Scope scope)
throws IllegalArgumentException
- Parameters:
name
- the name != null.scope
- the scope != null.
- Throws:
IllegalArgumentException
- if one of the arguments is null.
Copyright © 2004–2013 52north.org. All rights reserved.