Package org.cafesip.jiplet.console.server

Examples of org.cafesip.jiplet.console.server.RealmMgmt


     */
    public String[] list() throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            return rlm.listRealms();
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here


    public void delete(String name) throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            rlm.deleteRealm(name);
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here

    public RealmElement getProperty(String realm) throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            return rlm.viewRealmProperty(realm);
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here

    public RealmElement[] listProperty() throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            return rlm.listRealmsProperties();
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here

    public void createUser(String realm, String user, String password,
            String[] roles) throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            rlm.createUser(realm, user, password, roles);
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here

    public void modifyUser(String realm, String user, String password,
            String[] roles) throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            rlm.modifyUser(realm, user, password, roles);
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here

    public void deleteUser(String realm, String user) throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            rlm.deleteUser(realm, user);
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here

    public String[] getRoles(String realm, String user) throws Exception
    {
        try
        {
            RealmMgmt rlm = new RealmMgmt();
            return rlm.getUser(realm, user);
        }
        catch (Exception e)
        {
            throw ExceptionHandler.getException(e, this);
        }
View Full Code Here

TOP

Related Classes of org.cafesip.jiplet.console.server.RealmMgmt

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.