Package waffle.jaas
Class WindowsLoginModuleTest
- java.lang.Object
-
- waffle.jaas.WindowsLoginModuleTest
-
public class WindowsLoginModuleTest extends Object
The Class WindowsLoginModuleTest.
-
-
Constructor Summary
Constructors Constructor Description WindowsLoginModuleTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckAuth()Check auth.voidcheckGuestLogin()Check guest login.voidcommit_noPrincipal()Commit_no principal.voidcommit_subjectReadOnly()Commit_subject read only.voidcommit_success()Commit_success.voidcommit_withDebug()Commit_with debug.voidcommit_withRoles()Commit_with Roles.voidinit()Inits the.voidinitialize_withOptions()Initialize_with options.voidlogin_invalidGuestLogin()Login_invalid guest login.voidlogin_nullPassword()Login_null password.voidlogin_throwIOException()Login_throw io exception.voidlogin_throwUnsupportedCallbackException()Login_throw unsupported callback exception.voidlogon_noCallbackHandler()Logon_no callback handler.voidlogout_abortNoUser()Logout_abort no user.voidlogout_noUser()Logout_no user.voidlogout_subjectReadOnly()Logout_subject read only.voidlogout_validUser()Logout_valid user.
-
-
-
Method Detail
-
checkAuth
@Test public void checkAuth()
Check auth.
-
checkGuestLogin
@Test public void checkGuestLogin()
Check guest login.
-
commit_noPrincipal
@Test public void commit_noPrincipal() throws LoginExceptionCommit_no principal.- Throws:
LoginException- the login exception
-
commit_subjectReadOnly
@Test public void commit_subjectReadOnly() throws LoginExceptionCommit_subject read only.- Throws:
LoginException- the login exception
-
commit_success
@Test public void commit_success() throws LoginExceptionCommit_success.- Throws:
LoginException- the login exception
-
commit_withDebug
@Test public void commit_withDebug() throws LoginExceptionCommit_with debug.- Throws:
LoginException- the login exception
-
commit_withRoles
@Test public void commit_withRoles() throws LoginExceptionCommit_with Roles.- Throws:
LoginException- the login exception
-
init
@BeforeEach public void init()
Inits the.
-
initialize_withOptions
@Test public void initialize_withOptions()
Initialize_with options.
-
login_invalidGuestLogin
@Test public void login_invalidGuestLogin() throws LoginExceptionLogin_invalid guest login.- Throws:
LoginException- the login exception
-
login_nullPassword
@Test public void login_nullPassword() throws LoginExceptionLogin_null password.- Throws:
LoginException- the login exception
-
login_throwIOException
@Test public void login_throwIOException() throws LoginException, IOException, UnsupportedCallbackExceptionLogin_throw io exception.- Throws:
LoginException- the login exceptionIOException- Signals that an I/O exception has occurred.UnsupportedCallbackException- the unsupported callback exception
-
login_throwUnsupportedCallbackException
@Test public void login_throwUnsupportedCallbackException() throws LoginException, IOException, UnsupportedCallbackExceptionLogin_throw unsupported callback exception.- Throws:
LoginException- the login exceptionIOException- Signals that an I/O exception has occurred.UnsupportedCallbackException- the unsupported callback exception
-
logon_noCallbackHandler
@Test public void logon_noCallbackHandler() throws LoginExceptionLogon_no callback handler.- Throws:
LoginException- the login exception
-
logout_abortNoUser
@Test public void logout_abortNoUser() throws LoginExceptionLogout_abort no user.- Throws:
LoginException- the login exception
-
logout_noUser
@Test public void logout_noUser() throws LoginExceptionLogout_no user.- Throws:
LoginException- the login exception
-
logout_subjectReadOnly
@Test public void logout_subjectReadOnly() throws LoginExceptionLogout_subject read only.- Throws:
LoginException- the login exception
-
logout_validUser
@Test public void logout_validUser() throws LoginExceptionLogout_valid user.- Throws:
LoginException- the login exception
-
-