public class UsernamePrincipal extends Object implements CloneablePrincipal
| Constructor and Description |
|---|
UsernamePrincipal(String user)
Constructor.
|
public UsernamePrincipal(@Nonnull@NotEmpty@ParameterName(name="user") String user)
user - the username, can not be null or emptypublic int hashCode()
public boolean equals(Object other)
public String toString()
public UsernamePrincipal clone() throws CloneNotSupportedException
clone in interface CloneablePrincipalclone in class ObjectCloneNotSupportedException - if the instance cannot
be cloned.Object.clone()Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.