Examples of PrincipalAcegiUserToken


Examples of org.acegisecurity.adapters.PrincipalAcegiUserToken

                throw new FailedLoginException("Password Incorrect/Password Required");
            }

            super.log.debug("user is logged. redirecting to jaas classes");

            identity = new PrincipalAcegiUserToken(this.key, response.getName(), response.getCredentials().toString(),
                    response.getAuthorities(), response.getPrincipal());
        }

        if (getUseFirstPass() == true) {
            // Add the username and password to the shared state map
View Full Code Here

Examples of org.acegisecurity.adapters.PrincipalAcegiUserToken

            }

            return null;
        }

        return new PrincipalAcegiUserToken(this.key, response.getPrincipal().toString(),
            response.getCredentials().toString(), response.getAuthorities(), response.getPrincipal());
    }
View Full Code Here

Examples of org.acegisecurity.adapters.PrincipalAcegiUserToken

                + principal.getClass().getName());

            return false;
        }

        PrincipalAcegiUserToken test = (PrincipalAcegiUserToken) principal;

        return test.isUserInRole(role);
    }
View Full Code Here

Examples of org.acegisecurity.adapters.PrincipalAcegiUserToken

            }

            return false;
        }

        PrincipalAcegiUserToken test = (PrincipalAcegiUserToken) principal;

        return test.isUserInRole(role);
    }
View Full Code Here

Examples of org.acegisecurity.adapters.PrincipalAcegiUserToken

            }

            return null;
        }

        return new PrincipalAcegiUserToken(this.key, response.getPrincipal().toString(),
            response.getCredentials().toString(), response.getAuthorities(), response.getPrincipal());
    }
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.