Package alluxio.security.user
Class UserState.Factory
- java.lang.Object
-
- alluxio.security.user.UserState.Factory
-
- Enclosing interface:
- UserState
public static class UserState.Factory extends java.lang.Object
A factory for creating a UserState.
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserState
create(AlluxioConfiguration conf)
static UserState
create(AlluxioConfiguration conf, javax.security.auth.Subject subject)
static UserState
create(AlluxioConfiguration conf, javax.security.auth.Subject subject, CommonUtils.ProcessType processType)
-
-
-
Method Detail
-
create
public static UserState create(AlluxioConfiguration conf)
- Parameters:
conf
- the configuration to use- Returns:
- a new UserState instance
-
create
public static UserState create(AlluxioConfiguration conf, javax.security.auth.Subject subject)
- Parameters:
conf
- the configuration to usesubject
- the subject to use for the UserState- Returns:
- a new UserState instance
-
create
public static UserState create(AlluxioConfiguration conf, javax.security.auth.Subject subject, CommonUtils.ProcessType processType)
- Parameters:
conf
- the configuration to usesubject
- the subject to use for the UserStateprocessType
- the process type to create the UserState for- Returns:
- a new UserState instance
-
-