Package com.atlassian.jwt.core.http.auth

Examples of com.atlassian.jwt.core.http.auth.SimplePrincipal


    }

    @Override
    protected Principal authenticate(Request request, Jwt jwt) throws JwtUserRejectedException {
        // we don't do any further validation of the user here. If the host vouches for them then ok by us
        return jwt.getSubject() == null ? null : new SimplePrincipal(jwt.getSubject());
    }
View Full Code Here

TOP

Related Classes of com.atlassian.jwt.core.http.auth.SimplePrincipal

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.