org.eclipse.higgins.idas.cp.jena2.impl.authentication
Class AuthConstants

java.lang.Object
  extended byorg.eclipse.higgins.idas.cp.jena2.impl.authentication.AuthConstants

public class AuthConstants
extends Object


Field Summary
static String USER_ACCOUNT_CLASS
          Individual of this class holds user's account data
static String USER_AUTHENTICATION_TYPE_PROPERTY
          The name of datatype property used to hold the type of authentication allowed for user.
static String USER_KEY_PROPERTY
          Base64-encoded value of encrypted symmetric key used to encrypt/decrypt user's data.
static String USER_NAME_PROPERTY
          The name of datatype property used to hold login of user's account.
static String USER_PASSWORD_HASH_PROPERTY
          The name of datatype property used to hold SHA-256 hash value of password of user's account.
static String USER_TOKEN_PROPERTY
          1.
 
Constructor Summary
AuthConstants()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_ACCOUNT_CLASS

public static final String USER_ACCOUNT_CLASS
Individual of this class holds user's account data

See Also:
Constant Field Values

USER_AUTHENTICATION_TYPE_PROPERTY

public static final String USER_AUTHENTICATION_TYPE_PROPERTY
The name of datatype property used to hold the type of authentication allowed for user.

See Also:
Constant Field Values

USER_TOKEN_PROPERTY

public static final String USER_TOKEN_PROPERTY
1. Individual of user's account can have this property. 2. If individual of account has such not-null property, the user can only operate with DigitalSubjects marked with this token (in this case an individual of DigitalSubject has "$userToken" with this value).

See Also:
Constant Field Values

USER_KEY_PROPERTY

public static final String USER_KEY_PROPERTY
Base64-encoded value of encrypted symmetric key used to encrypt/decrypt user's data. This key should be encrypted with another symmetryc key generated using credentials (using password, e.g.).

See Also:
Constant Field Values

USER_NAME_PROPERTY

public static final String USER_NAME_PROPERTY
The name of datatype property used to hold login of user's account. Is used in case of username/password authentication.

See Also:
Constant Field Values

USER_PASSWORD_HASH_PROPERTY

public static final String USER_PASSWORD_HASH_PROPERTY
The name of datatype property used to hold SHA-256 hash value of password of user's account. Is used in case of username/password authentication.

See Also:
Constant Field Values
Constructor Detail

AuthConstants

public AuthConstants()