Interface ILoginPolicy

All Known Implementing Classes:
LoginPolicy

public interface ILoginPolicy
Login policy class.
Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Can current user log in?
    boolean
    canLogin(String userName)
     
  • Method Details

    • canLogin

      boolean canLogin()
      Can current user log in?

      Note that the user must already be logged in by ILogin.IFinal.perform(), this is just to test if that user is allowed to be logged in on a higher level.

      Permission is LoginPermission.

      Returns:
      true if current user is allowed to log into the system
    • canLogin

      boolean canLogin(String userName)