Package org.geogrid.aist.credential.services.security.gss

Examples of org.geogrid.aist.credential.services.security.gss.CredentialContext.activate()


            context.setLabel("tsukuba-gama");
        } else {
            log.info("Activate credential");
        }
        deleteOldCredentialContext(user, dn);
        context.activate(credential);
        credentialManager.saveCredentialContext(context);
    }

    /*
     * find CredentialContext for user
View Full Code Here


        }
        CredentialContext context = getCredentialContextByDn(credDn);
        if (context == null) {
            throw new CredentialException("No credentialContext context found with dn " + credDn);
        }
        context.activate(credential);
        saveCredentialContext(context);
        return context;
   }

    public void deactivateCredentialContexts(User user) {
View Full Code Here

                context.setLabel("tsukuba-gama");
            } else {
                log.info("Activate credential");
            }
            deleteOldCredentialContext(user, dn);
            context.activate(credential);
            credentialManager.saveCredentialContext(context);
        } catch (GSSException e) {
            throw new AuthenticationException(e.getMessage());
        } catch (CredentialException e) {
            log.error("Couldn't activate", e);
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.