Class ImmutableUserMappingCache


  • public class ImmutableUserMappingCache
    extends java.lang.Object
    Stores user manager data. - (longlife) needs to be accessed throughout the application run. - (cannotfail) does not have any terminal failure states. - (concurrent) will be accessed concurrently (immutable, builder).
    • Method Detail

      • getRetClientForToboUsername

        public java.lang.String getRetClientForToboUsername​(java.lang.String assetClass,
                                                            java.lang.String toboUserName)
                                                     throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getRetClientForSsoUsername

        public java.lang.String getRetClientForSsoUsername​(java.lang.String assetClass,
                                                           java.lang.String ssoUsername)
                                                    throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getSsoUsername

        public java.lang.String getSsoUsername​(java.lang.String toboUsername)
                                        throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getToboUsername

        public java.lang.String getToboUsername​(java.lang.String retClientName)
                                         throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getToboUsers

        public java.util.Set<java.lang.String> getToboUsers​(java.lang.String ssoUsername)
                                                     throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getSsoUserNamesWhoCanTobo

        public java.util.Set<java.lang.String> getSsoUserNamesWhoCanTobo​(java.lang.String retClientName)
                                                                  throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getRetClientsTradedBySsoUser

        public java.util.Set<java.lang.String> getRetClientsTradedBySsoUser​(java.lang.String ssoUserName)
                                                                     throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getRetClientsTradedByToboUser

        public java.util.Set<java.lang.String> getRetClientsTradedByToboUser​(java.lang.String toboUsername)
      • getSsoUsernames

        public java.util.Set<java.lang.String> getSsoUsernames()
                                                        throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getSsoPassword

        public java.lang.String getSsoPassword​(java.lang.String ssoUsername)
                                        throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getAllUserGroups

        public java.util.Set<java.lang.String> getAllUserGroups()
                                                         throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getSsoUsersInGroup

        public java.util.Set<java.lang.String> getSsoUsersInGroup​(java.lang.String group)
                                                           throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException