Direct Known Subclasses:
GlossaryViewController, RepositoryExplorerController, TypeExplorerController

public class SecureController extends Object
This class provides a method to access the user name from the servlet session. This class should be subclassed so that the user can be obtained and then used on omas calls.
  • Field Details

  • Constructor Details

    • SecureController

      public SecureController()
  • Method Details

    • getUser

      protected String getUser()
      Return user name if there is one or null. Passing null as the user to a rest call should result in a user not authorized error.
      userName or null if there is not one