Package org.apache.qpid.server.management.plugin.servlet

Examples of org.apache.qpid.server.management.plugin.servlet.ServletConnectionPrincipal


            Subject originalSubject = subjectCreator.createSubjectWithGroups(new AuthenticatedPrincipal(saslServer.getAuthorizationID()));
            Subject subject = new Subject(false,
                                          originalSubject.getPrincipals(),
                                          originalSubject.getPublicCredentials(),
                                          originalSubject.getPrivateCredentials());
            subject.getPrincipals().add(new ServletConnectionPrincipal(request));
            subject.setReadOnly();

            Broker broker = getBroker();
            try
            {
View Full Code Here


            Subject original = subject;
            subject = new Subject(false,
                                  original.getPrincipals(),
                                  original.getPublicCredentials(),
                                  original.getPrivateCredentials());
            subject.getPrincipals().add(new ServletConnectionPrincipal(request));
            subject.setReadOnly();

            assertManagementAccess(broker.getSecurityManager(), subject);

            saveAuthorisedSubject(session, subject);
View Full Code Here

            Subject original = subject;
            subject = new Subject(false,
                                  original.getPrincipals(),
                                  original.getPublicCredentials(),
                                  original.getPrivateCredentials());
            subject.getPrincipals().add(new ServletConnectionPrincipal(request));
            subject.setReadOnly();

            assertManagementAccess(broker.getSecurityManager(), subject);

            saveAuthorisedSubject(session, subject);
View Full Code Here

            Subject originalSubject = subjectCreator.createSubjectWithGroups(saslServer.getAuthorizationID());
            Subject subject = new Subject(false,
                                          originalSubject.getPrincipals(),
                                          originalSubject.getPublicCredentials(),
                                          originalSubject.getPrivateCredentials());
            subject.getPrincipals().add(new ServletConnectionPrincipal(request));
            subject.setReadOnly();

            Broker broker = getBroker();
            try
            {
View Full Code Here

TOP

Related Classes of org.apache.qpid.server.management.plugin.servlet.ServletConnectionPrincipal

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.