Constructor and Description |
---|
UserInformationPrincipal(UserInformation userInformation)
Create a new principal object
|
Modifier and Type | Method and Description |
---|---|
static UserInformationPrincipal |
create(UserInformation userInformation)
Create an new principal object from a user information
|
boolean |
equals(Object obj) |
String |
getName() |
int |
hashCode() |
String |
toString() |
public UserInformationPrincipal(UserInformation userInformation)
For creating a new object with easier null
handling see
create(UserInformation)
userInformation
- the user information that is the source of the information.
This parameter must not be null
NullPointerException
- in the case the userInformation parameter is
null
create(UserInformation)
public static UserInformationPrincipal create(UserInformation userInformation)
userInformation
- the user information or null
if none is availableUserInformationPrincipal
instance of
null
if the
parameter userInformation was nullpublic String toString()
public int hashCode()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.