Interface TomcatPrincipal

  • All Superinterfaces:
    All Known Implementing Classes:
    GenericPrincipal, UserDatabaseRealm.UserDatabasePrincipal

    public interface TomcatPrincipal
    Defines additional methods implemented by Principals created by Tomcat's standard Realm implementations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.ietf.jgss.GSSCredential getGssCredential() getUserPrincipal()  
      void logout()
      Calls logout, if necessary, on any associated JAASLoginContext.
      • Methods inherited from interface

        equals, getName, hashCode, implies, toString
    • Method Detail

      • getUserPrincipal getUserPrincipal()
        The authenticated Principal to be exposed to applications.
      • getGssCredential

        org.ietf.jgss.GSSCredential getGssCredential()
        The user's delegated credentials.
      • logout

        void logout()
             throws java.lang.Exception
        Calls logout, if necessary, on any associated JAASLoginContext. May in the future be extended to cover other logout requirements.
        java.lang.Exception - If something goes wrong with the logout. Uses Exception to allow for future expansion of this method to cover other logout mechanisms that might throw a different exception to LoginContext