Remove an existing Realm. @param name MBean Name of the component to remove @exception Exception if a component cannot be removed
(String name)
| 807 | * @exception Exception if a component cannot be removed |
| 808 | */ |
| 809 | public void removeRealm(String name) throws Exception { |
| 810 | |
| 811 | ObjectName oname = new ObjectName(name); |
| 812 | // Acquire a reference to the component to be removed |
| 813 | Container container = getParentContainerFromChild(oname); |
| 814 | if (container != null) { |
| 815 | container.setRealm(null); |
| 816 | } |
| 817 | } |
| 818 | |
| 819 | |
| 820 | /** |
nothing calls this directly
no test coverage detected