Module iu.util.auth

Interface IuSession

All Known Implementing Classes:
Session

public interface IuSession
This interface represents session object .
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearDetail(Class<?> type)
    Clear session attributes
    <T> T
    getDetail(Class<T> type)
    Get session attributes
    Get resource URI
    default boolean
    Gets whether session object state change
    void
    setStrict(boolean strict)
    Set strict mode
  • Method Details

    • getDetail

      <T> T getDetail(Class<T> type)
      Get session attributes
      Type Parameters:
      T - type
      Parameters:
      type - class
      Returns:
      attributes for the session
    • clearDetail

      void clearDetail(Class<?> type)
      Clear session attributes
      Parameters:
      type - class
    • isChanged

      default boolean isChanged()
      Gets whether session object state change
      Returns:
      true if session object state has change, otherwise false;
    • setStrict

      void setStrict(boolean strict)
      Set strict mode
      Parameters:
      strict - strict mode
    • getResourceUri

      URI getResourceUri()
      Get resource URI
      Returns:
      resource URI