Examples of xgetNotbefore()


Examples of xregistry.generated.AddCapabilityTokenDocument.AddCapabilityToken.xgetNotbefore()

    public AddCapabilityTokenResponseDocument addCapabilityToken(AddCapabilityTokenDocument input)
            throws XregistryException {
        log.info("Request Received " + input.xmlText());
        AddCapabilityToken captoken = input.getAddCapabilityToken();

        Timestamp notBefore = new Timestamp(captoken.xgetNotbefore().getDateValue().getTime());
        Timestamp notAfter = new Timestamp(captoken.xgetNotafter().getDateValue().getTime());

        registryImpl.addCapability(findUserDN(), captoken.getResourceID(), captoken.getActor(),
                captoken.getActorType(), captoken.getAction(), captoken.getAssertions(), notBefore,
                notAfter);
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.