Package org.uberfire.security.impl.auth

Examples of org.uberfire.security.impl.auth.PrincipalImpl


                return AuthenticationStatus.SUCCESS;
            }

            @Override
            public Principal getPrincipal() {
                return new PrincipalImpl( realCredential.getUserName() );
            }
        };
    }
View Full Code Here


                return AuthenticationStatus.SUCCESS;
            }

            @Override
            public Principal getPrincipal() {
                return new PrincipalImpl( realCredential.getUserId() );
            }
        };
    }
View Full Code Here

        final String userId = CRYPT_PROVIDER.decrypt( originalCookieValue, null );
        if ( userId == null ) {
            return null;
        }

        return new PrincipalImpl( userId );
    }
View Full Code Here

TOP

Related Classes of org.uberfire.security.impl.auth.PrincipalImpl

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.