Package io.pravega.shared.security.auth
Class PasswordAuthHandlerInput
- java.lang.Object
-
- io.pravega.shared.security.auth.PasswordAuthHandlerInput
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class PasswordAuthHandlerInput extends java.lang.Object implements java.lang.AutoCloseableThis is a helper class for tests and may be used for generating the input file for the PasswordAuthHandler - the default AuthHandler implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPasswordAuthHandlerInput.Entry
-
Constructor Summary
Constructors Constructor Description PasswordAuthHandlerInput(java.lang.String fileName, java.lang.String extension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.io.FilegetFile()voidpostEntries(java.util.List<PasswordAuthHandlerInput.Entry> entries)voidpostEntry(PasswordAuthHandlerInput.Entry entry)
-
-
-
Method Detail
-
postEntry
public void postEntry(PasswordAuthHandlerInput.Entry entry)
-
postEntries
public void postEntries(java.util.List<PasswordAuthHandlerInput.Entry> entries)
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
getFile
public java.io.File getFile()
-
-