Examples of AuthInfoImpl


Examples of org.apache.jackrabbit.oak.security.authentication.AuthInfoImpl

            Map<String, String> publicAttributes = tokenInfo.getPublicAttributes();
            for (String attrName : publicAttributes.keySet()) {
                attributes.put(attrName, publicAttributes.get(attrName));
            }
        }
        return new AuthInfoImpl(userID, attributes, principals);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.security.authentication.AuthInfoImpl

            Map<String, String> publicAttributes = tokenInfo.getPublicAttributes();
            for (String attrName : publicAttributes.keySet()) {
                attributes.put(attrName, publicAttributes.get(attrName));
            }
        }
        return new AuthInfoImpl(userID, attributes, principals);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.security.authentication.AuthInfoImpl

            Map<String, String> publicAttributes = tokenInfo.getPublicAttributes();
            for (String attrName : publicAttributes.keySet()) {
                attributes.put(attrName, publicAttributes.get(attrName));
            }
        }
        return new AuthInfoImpl(userId, attributes, principals);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.security.authentication.AuthInfoImpl

            SimpleCredentials sc = (SimpleCredentials) credentials;
            for (String attrName : sc.getAttributeNames()) {
                attributes.put(attrName, sc.getAttribute(attrName));
            }
        }
        return new AuthInfoImpl(userId, attributes, principals);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.security.authentication.AuthInfoImpl

            @Override
            public String getName() {
                return OakSlingRepository.this.adminName;
            }
        });
        AuthInfo authInfo = new AuthInfoImpl(this.adminName, Collections.<String, Object> emptyMap(), principals);
        Subject subject = new Subject(true, principals, singleton(authInfo), Collections.<Object> emptySet());
        Session adminSession;
        try {
            adminSession = Subject.doAsPrivileged(subject, new PrivilegedExceptionAction<Session>() {
                @Override
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.security.authentication.AuthInfoImpl

            final SecurityProvider securityProvider, final QueryIndexProvider indexProvider) {

        super(store, hook, workspaceName, SystemSubject.INSTANCE, securityProvider, indexProvider);

        contentSession = new ContentSession() {
            private final AuthInfoImpl authInfo = new AuthInfoImpl(
                    null, null, SystemSubject.INSTANCE.getPrincipals());

            @Override
            public void close() {
            }
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.security.authentication.AuthInfoImpl

            SimpleCredentials sc = (SimpleCredentials) creds;
            for (String attrName : sc.getAttributeNames()) {
                attributes.put(attrName, sc.getAttribute(attrName));
            }
        }
        return new AuthInfoImpl(userId, attributes, principals);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.security.authentication.AuthInfoImpl

            Map<String, String> publicAttributes = tokenInfo.getPublicAttributes();
            for (String attrName : publicAttributes.keySet()) {
                attributes.put(attrName, publicAttributes.get(attrName));
            }
        }
        return new AuthInfoImpl(userId, attributes, principals);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.security.authentication.AuthInfoImpl

            SimpleCredentials sc = (SimpleCredentials) credentials;
            for (String attrName : sc.getAttributeNames()) {
                attributes.put(attrName, sc.getAttribute(attrName));
            }
        }
        return new AuthInfoImpl(userId, attributes, principals);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.security.authentication.AuthInfoImpl

        super(store, hook, PostCommitHook.EMPTY, workspaceName,
                SystemSubject.INSTANCE, securityProvider, indexProvider);

        contentSession = new ContentSession() {
            private final AuthInfoImpl authInfo = new AuthInfoImpl(
                    null, null, SystemSubject.INSTANCE.getPrincipals());

            @Override
            public void close() {
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.