/** * Returns the realm identified by the name which is passed * as a parameter. This function knows about all the realms * which exist; it is not possible to store (or create) one * which is not accessible through this routine. * * @param name identifies the realm * @return the requested realm * @exception NoSuchRealmException if the realm is invalid * @exception BadRealmException if realm data structures are bad */ public static synchronized Realm getInstance(String configName, String name) throws NoSuchRealmException { Realm retval = _getInstance(configName, name); if (retval == null) { throw new NoSuchRealmException( localStrings.getLocalString("realm.no_such_realm", name + " realm does not exist.", new Object[] { name })); } return retval; }
/** * Returns the realm identified by the name which is passed * as a parameter. This function knows about all the realms * which exist; it is not possible to store (or create) one * which is not accessible through this routine. * * @param name identifies the realm * @return the requested realm * @exception NoSuchRealmException if the realm is invalid * @exception BadRealmException if realm data structures are bad */ public static Realm getInstance(String name) throws NoSuchRealmException { Realm retval = _getInstance(name); if (retval == null) { throw new NoSuchRealmException( localStrings.getLocalString("realm.no_such_realm", name + " realm does not exist.", new Object[] { name })); } return retval; }
/** * Returns the realm identified by the name which is passed * as a parameter. This function knows about all the realms * which exist; it is not possible to store (or create) one * which is not accessible through this routine. * * @param name identifies the realm * @return the requested realm * @exception NoSuchRealmException if the realm is invalid * @exception BadRealmException if realm data structures are bad */ public static synchronized Realm getInstance(String name) throws NoSuchRealmException { Realm retval = _getInstance(name); if (retval == null) { throw new NoSuchRealmException( localStrings.getLocalString("realm.no_such_realm", name + " realm does not exist.", new Object[] { name })); } return retval; }
/** * Returns the realm identified by the name which is passed * as a parameter. This function knows about all the realms * which exist; it is not possible to store (or create) one * which is not accessible through this routine. * * @param name identifies the realm * @return the requested realm * @exception NoSuchRealmException if the realm is invalid * @exception BadRealmException if realm data structures are bad */ public static synchronized Realm getInstance(String name) throws NoSuchRealmException { Realm retval = _getInstance(name); if (retval == null) { throw new NoSuchRealmException( localStrings.getLocalString("realm.no_such_realm", name + " realm does not exist.", new Object[] { name })); } return retval; }
/** * Returns the realm identified by the name which is passed * as a parameter. This function knows about all the realms * which exist; it is not possible to store (or create) one * which is not accessible through this routine. * * @param name identifies the realm * @return the requested realm * @exception NoSuchRealmException if the realm is invalid * @exception BadRealmException if realm data structures are bad */ public static synchronized Realm getInstance(String configName, String name) throws NoSuchRealmException { Realm retval = _getInstance(configName, name); if (retval == null) { throw new NoSuchRealmException( localStrings.getLocalString("realm.no_such_realm", name + " realm does not exist.", new Object[] { name })); } return retval; }
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(),authRealmName); if (fr == null) { throw new NoSuchRealmException(authRealmName);
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(),authRealmName); if (fr == null) { throw new NoSuchRealmException(authRealmName);
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(), fileAuthRealm.getName()); if (fr == null) { throw new NoSuchRealmException(fileAuthRealm.getName());
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(), fileAuthRealm.getName()); if (fr == null) { throw new NoSuchRealmException(fileAuthRealm.getName());
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(),authRealmName); if (fr == null) { throw new NoSuchRealmException(authRealmName);
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(),authRealmName); if (fr == null) { throw new NoSuchRealmException(authRealmName);
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(),authRealmName); if (fr == null) { throw new NoSuchRealmException(authRealmName);
fr = (FileRealm) realmsManager.getFromLoadedRealms(config.getName(),authRealmName); if (fr == null) { throw new NoSuchRealmException(authRealmName);