Package alluxio.security.user
Interface UserStateFactory
-
- All Known Implementing Classes:
NoopUserState.Factory
,SimpleUserState.Factory
public interface UserStateFactory
A factory for creating new UserState instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserState
create(javax.security.auth.Subject subject, AlluxioConfiguration conf, boolean isServer)
-
-
-
Method Detail
-
create
UserState create(javax.security.auth.Subject subject, AlluxioConfiguration conf, boolean isServer)
- Parameters:
subject
- the subjectconf
- the configurationisServer
- true if this is from a server process, false otherwise- Returns:
- a UserState, or null if this UserState is not supported
-
-