public class UserPrincipal extends Object implements Principal, Serializable
UserPrincipal ...| Constructor and Description |
|---|
UserPrincipal(String name)
Creates a
UserPrincipal with the given name. |
public UserPrincipal(String name) throws IllegalArgumentException
UserPrincipal with the given name.name - the name of this principalIllegalArgumentException - if name is null.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.