public static Set < JAASSystem > getAllJAASSystems ( ) { final Set < JAASSystem > ret = new HashSet <> ( ) ; final Cache < Long , JAASSystem > cache = InfinispanCache . get ( ) . < Long , JAASSystem > getCache ( JAASSystem . IDCACHE ) ; for ( final Map . Entry < Long , JAASSystem > entry : cache . entrySet ( ) ) { ret . add ( entry . getValue ( ) ) ; } return ret ; }
Returns all cached JAAS system in a set .