Artenus 2D Framework
Artenus Reference
Provides an implementation of LoginManager provided by unified services providers that do not have a user authentication component.
public class NullLoginManager
implements LoginManager

Constructor Summary

Modifier and TypeConstructor and Description
public NullLoginManager()

Method Summary

Modifier and TypeMethod and Description
public booleanisLoggedIn(int services)
Checks whether specified unified services are authenticated.
public booleanisLoginRequired(int services)
Checks whether specified unified services require user authentication.
public voidlaunchLogin(int services)
Launches the login user interface, which asks the user for credentials.
public voidlogout(int services)
Exists the currently authenticated session for specified services.
public voidsetLoginStatusListener(LoginStatusListener listener)
Assigns a new login listener to capture login events for this LoginManager.

Methods inherited from java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

NullLoginManager
public  NullLoginManager()

Method Detail

isLoggedIn
public boolean isLoggedIn(
    int services
)
Checks whether specified unified services are authenticated.
Specified By:
Returns:
true if all services are authenticated, false otherwise
isLoginRequired
public boolean isLoginRequired(
    int services
)
Checks whether specified unified services require user authentication.
Specified By:
Returns:
true if all services require user authentication, false otherwise
launchLogin
public void launchLogin(
    int services
)
Launches the login user interface, which asks the user for credentials.
Specified By:
logout
public void logout(
    int services
)
Exists the currently authenticated session for specified services.
Specified By:
setLoginStatusListener
public void setLoginStatusListener(
    LoginStatusListener listener
)
Assigns a new login listener to capture login events for this LoginManager.
Specified By: