Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.infocard;
import junit.framework.TestCase;
public class OpenIDTokenTest extends TestCase
{
public OpenIDTokenTest(String name)
{
super(name);
}
public void setUp() throws Exception
{
}
public void t... | 561 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery.html;
import java.io.IOException;
import junit.framework.TestCase;
import org.apache.commons.io.IOUtils;
import org.openid4java.discovery.DiscoveryException;
/**
* @author Sutra Zhou
*
*/
public class CyberNekoDOMHtmlPars... | 518 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery;
import junit.framework.TestCase;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class NormalizationTest extends TestCase
{
private Discovery _discovery;
public NormalizationTest(String membersitePath)
{
... | 613 |
github-java-corpus | 2,012 | package org.openid4java.discovery.xrds;
import junit.framework.TestCase;
import org.openid4java.discovery.DiscoveryInformation;
/**
* @author jbufu
*/
public class XrdsParserTest extends TestCase
{
public void testXrdsParse() throws Exception
{
XrdsParser parser = new XrdsParserImpl();
parse... | 1,295 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery.yadis;
import java.io.IOException;
import java.io.InputStream;
import junit.framework.TestCase;
import org.apache.commons.io.IOUtils;
/**
* @author Sutra Zhou
*
*/
public class CyberNekoDOMYadisHtmlParserTest extends Test... | 364 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery.yadis;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.framework.TestCase;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class YadisUrlTest extends TestCase
{
public YadisUrlTest(String... | 476 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery.yadis;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import j... | 890 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery.yadis;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.Context;
import org.mortbay.jetty.servlet.ServletHolder;
i... | 3,627 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery;
import junit.framework.TestCase;
import junit.framework.Test;
import junit.framework.TestSuite;
import javax.servlet.ServletException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class DiscoveryTest extends TestC... | 589 |
github-java-corpus | 2,012 | package net.sxip.openidcards.infocardop.web;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.ModelAndView;
import org.apache.log4j.Logger;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletOutp... | 769 |
github-java-corpus | 2,012 | package net.sxip.openidcards.icdemo.web;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.ModelAndView;
import org.apache.log4j.Logger;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSessio... | 2,328 |
github-java-corpus | 2,012 | /**
* Created on 2007-4-14 00:54:50
*/
package org.openid4java.samples.consumerservlet;
import java.io.IOException;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet... | 2,835 |
github-java-corpus | 2,012 | /**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 1,731 |
github-java-corpus | 2,012 | /**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 277 |
github-java-corpus | 2,012 | /**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 299 |
github-java-corpus | 2,012 | package org.openid4java.samples.servlet;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import org.openid4java.consumer.ConsumerManager;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletExc... | 182 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.openid4java.association.DiffieHellmanSession;
import org.openid4java.association.AssociationSessionType;
import org.openid4java.association.AssociationException;
import org.openid4java.OpenIDException;
import java.uti... | 1,982 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.*;
import java.util.List;
import java.net.URLDecoder... | 1,341 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
/**
* Interface for building OpenID extensions.
* <p>
* Classes that implement this interface should provide a default constructor
* and register their Type URIs with the MessageExtensionFactory.
*
* @see MessageExtensionFa... | 426 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.openid4java.association.Association;
import org.openid4java.server.RealmVerifier;
import org.openid4java.OpenIDException;
import java.util.List;
import java.util.Arrays;
import java.util.Iterator;
import java.net.URL;... | 2,014 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.openid4java.discovery.DiscoveryException;
import org.openid4java.util.InternetDateFormat;
import org.openid4java.association.Association;
import org.openid4java.association.AssociationException;
import org.openid4java.... | 3,552 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.OpenIDException;
import java.util.List;
import java.util.Arrays;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
publi... | 795 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.OpenIDException;
import java.util.List;
import java.util.Arrays;
import java.net.URL;
import java.net.MalformedURLExcept... | 676 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.openid4java.OpenIDException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class MessageException extends OpenIDException
{
public MessageException(String message)
{
super(message, MESSAGE_ER... | 186 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import java.io.Serializable;
/**
* A key / value pair which is part of an OpenID message.
*
* @author Marius Scurtescu, Johnny Bufu
* @see ParameterList
*/
public class Parameter implements Comparable, Serializable
{
pr... | 487 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.OpenIDException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class IndirectError extends Message
{
priva... | 803 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.openid4java.association.Association;
import org.openid4java.association.DiffieHellmanSession;
import org.openid4java.association.AssociationException;
import org.openid4java.association.AssociationSessionType;
import o... | 2,220 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.ax;
import org.openid4java.message.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Base class for the Attribute Exchange implementation.
* <p>
* Encapsulates:
* <ul>
* <li> the T... | 1,080 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.ax;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import org.openid4java.message.ParameterList;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/*... | 554 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.ax;
import org.openid4java.message.ParameterList;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import java.util.Iterator;
import org.apache.commons.logging.Log;
import org.apache.com... | 856 |
github-java-corpus | 2,012 | package org.openid4java.message.ax;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.*;
/**
* @author jbufu
*/
public abstract class AxPayload extends AxMessage {
pri... | 2,269 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.ax;
import org.openid4java.message.ParameterList;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import java.net.URL;
import java.net.MalformedURLException;
import java.util.*;
import ... | 1,172 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.ax;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import org.openid4java.message.ParameterList;
import java.net.URL;
import java.net.MalformedURLException;
import java.util.Map;
import... | 2,301 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.OpenIDException;
import java.util.List;
import java.util.Arrays;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
publi... | 567 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.OpenIDException;
import java.util.List;
import java.util.Arrays;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
publi... | 401 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.openid4java.message.ax.AxMessage;
import org.openid4java.message.sreg.SRegMessage;
import org.openid4java.message.sreg.SReg11ExtensionFactory;
import org.openid4java.message.pape.PapeMessage;
import java.io.Unsupporte... | 3,336 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.OpenIDException;
/**
* VerifyRequest is a AuthSuccess with the openid.mode
* switched to check_authentication.
*
* ... | 508 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
/**
* Factory interface for creating message extension objects for a specific
* message extension type URI.
*
* @see MessageExtension
* @see Message
* @author Marius Scurtescu, Johnny Bufu
*/
public interface MessageExtens... | 267 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message;
import org.openid4java.association.AssociationSessionType;
import org.openid4java.OpenIDException;
import java.util.List;
import java.util.Arrays;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFact... | 612 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.pape;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import org.openid4java.message.ParameterList;
import org.openid4java.OpenIDException;
import java.util.*;
import org.apache.commons... | 1,293 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.pape;
import org.openid4java.message.ParameterList;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import org.openid4java.util.InternetDateFormat;
import org.openid4java.OpenIDException;... | 1,599 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.pape;
import org.openid4java.message.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
/**
* Base class for the Op... | 1,800 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.sreg;
import org.openid4java.message.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Base class for the Simple Registration implementation.
* <p>
* Encapsulates:
* <ul>
* <li> th... | 1,498 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.sreg;
import org.openid4java.message.MessageExtensionFactory;
import org.openid4java.message.MessageExtension;
import org.openid4java.message.ParameterList;
import org.openid4java.message.MessageException;
/**
* Custom Extension... | 461 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.sreg;
import org.openid4java.message.ParameterList;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.... | 1,131 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.message.sreg;
import org.openid4java.message.MessageException;
import org.openid4java.message.Parameter;
import org.openid4java.message.ParameterList;
import java.net.URL;
import java.net.MalformedURLException;
import java.util.*;
impor... | 1,290 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import org.apache.http.Header;
/**
* Container class for HTTP responses.
*
* @author Marius Scurtescu, Johnny Bufu
*/
public interface HttpResponse
{
/**
* Gets the status code of the HttpResponse.
*/
public i... | 233 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.Locale;
import java.util.TimeZone;
import java.util.Date;
/*... | 326 |
github-java-corpus | 2,012 | /**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 509 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import java.io.ByteArrayInputStream;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerCon... | 842 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
/*
* Created on Mar 5, 2007
*/
package org.openid4java.util;
import javax.net.ssl.SSLContext;
import org.apache.http.HttpHost;
import org.apache.http.client.*;
import org.apache.http.client.params.AllClientPNames;
import org.apache.http.conn.ClientConnectionM... | 995 |
github-java-corpus | 2,012 | /**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 502 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.HttpRequestBase;
import org.apache.http.client.params.AllClientPNames;
import java.util.Iterator;
import java.util.Map;
public final class HttpUtils
{
pr... | 379 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import org.apache.http.auth.Credentials;
import org.apache.http.auth.NTCredentials;
import org.apache.http.auth.UsernamePasswordCredentials;
/**
* Utility bean for setting transport properties in runtime.
*/
public class ProxyPr... | 553 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import java.util.Map;
import java.util.HashMap;
/**
* Container class for the various options associated with HTTP requests.
*
* @see org.openid4java.util.HttpCache
* @author Marius Scurtescu, Johnny Bufu
*/
public class HttpR... | 1,675 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.OpenIDException;
/**
* Load properti... | 453 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
i... | 3,296 |
github-java-corpus | 2,012 | /**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 558 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.*;
import java.text.ParseException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class InMemoryNonceVerifier exte... | 668 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import com.google.inject.ImplementedBy;
import org.openid4java.association.Association;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
@ImplementedBy(InMemoryConsumerAssociationStore.class)
public interface ConsumerAssociati... | 119 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import org.openid4java.discovery.Identifier;
import org.openid4java.message.MessageException;
import org.openid4java.message.Message;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class VerificationResult
{
/**
... | 521 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import org.openid4java.OpenIDException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class ConsumerException extends OpenIDException
{
public ConsumerException(String message)
{
super(message, CONSUM... | 188 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import net.sf.ehcache.Cache;
import net.sf.ehcache.Element;
import java.util.Date;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public c... | 369 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import org.openid4java.util.InternetDateFormat;
import java.util.Date;
import java.text.ParseException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* @author Marius Scurtescu, Joh... | 506 |
github-java-corpus | 2,012 |
package org.openid4java.consumer ;
import java.util.Date;
import java.util.Map;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.association.Association;
import org.openid4java.association.AssociationException;
... | 1,931 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import org.openid4java.association.Association;
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class InMemoryCo... | 856 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import com.google.inject.Inject;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.http.HttpStatus;
import org.openid4java.OpenIDException;
import org.openid4java.association... | 13,360 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import com.google.inject.ImplementedBy;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
@ImplementedBy(InMemoryNonceVerifier.class)
public interface NonceVerifier
{
/**
* This noce is valid and it was not seen before.... | 358 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.consumer;
import org.openid4java.discovery.Identifier;
import org.openid4java.discovery.DiscoveryInformation;
import org.openid4java.message.ax.FetchRequest;
import org.openid4java.message.ax.FetchResponse;
import org.openid4java.message.... | 1,301 |
github-java-corpus | 2,012 |
package org.openid4java.consumer ;
import java.util.Date ;
import org.apache.commons.logging.Log ;
import org.apache.commons.logging.LogFactory ;
import org.springframework.dao.DataIntegrityViolationException ;
import org.springframework.jdbc.core.JdbcTemplate ;
import org.springframework.jdbc.core.support.JdbcDaoSu... | 977 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.association;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import javax.crypto.SecretKey;
import javax.crypto.KeyGenerator;
import javax.crypto.Mac;
im... | 1,830 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.association;
import org.openid4java.OpenIDException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class AssociationException extends OpenIDException
{
public AssociationException(String message)
{
super(message... | 186 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.association;
import javax.crypto.spec.DHParameterSpec;
import javax.crypto.spec.DHGenParameterSpec;
import javax.crypto.spec.DHPublicKeySpec;
import javax.crypto.interfaces.DHPublicKey;
import javax.crypto.interfaces.DHPrivateKey;
import ... | 3,045 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.association;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Modells the session and association types allowed in OpenID associations.
* <p>
* Association requests and responses must have one... | 1,838 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class OpenIDException extends Exception
{
private int _errorCode;
// error codes intended to help pinpoint the subsystem / cause of a failure
public static final int OP... | 843 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.openid4java.util.InternetDateFormat;
import java.util.Date;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class Increment... | 293 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.openid4java.message.AuthRequest;
import org.openid4java.message.AuthSuccess;
import org.openid4java.message.MessageExtension;
import org.openid4java.message.ParameterList;
import org.openid4java.message.Message;
import ... | 1,367 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.openid4java.association.Association;
import org.openid4java.association.AssociationException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public interface ServerAssociationStore
{
public Association generate(S... | 102 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.openid4java.association.Association;
import org.openid4java.association.AssociationException;
import java.util.*;
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import org.springframework.jdbc.core.JdbcTe... | 1,443 |
github-java-corpus | 2,012 | /**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 285 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.openid4java.OpenIDException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class ServerException extends OpenIDException
{
public ServerException(String message)
{
super(message, SERVER_ERROR)... | 183 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import com.google.inject.Inject;
import org.openid4java.message.*;
import org.openid4java.util.HttpCache;
import org.openid4java.util.HttpFetcherFactory;
import org.openid4java.association.AssociationSessionType;
import org.openi... | 6,080 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public interface NonceGenerator
{
public String next();
}
| 53 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.discovery.Discovery;
import org.openid4java.discovery.DiscoveryException;
import org.openid4java.discovery.DiscoveryInform... | 2,239 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.openid4java.association.Association;
import org.openid4java.association.AssociationException;
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* @author Ma... | 500 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.infocard;
import org.openid4java.message.Message;
import org.openid4java.message.ParameterList;
import org.openid4java.OpenIDException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.w3c.do... | 1,093 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.infocard.rp;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.message.ax.FetchRequest;
import org.openid4java.infocard.OpenIDTokenType;
import java.util.List;
import java.util.Ar... | 1,987 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.infocard.sts;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.io.UnsupportedEncodingException;
import org.eclipse.h... | 3,675 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.infocard.sts;
/**
* Implements the IConfigurableComponentFactory that creates the IssueHandler implementation.
*
* @author Johnny Bufu
*/
public class OpenIDTokenGeneratorHandlerFactory
implements org.eclipse.higgins.configuration.a... | 188 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.infocard;
/**
* Enumeration class with the defined OpenID token types.
*/
public class OpenIDTokenType
{
/**
* OpenID 1.1 token type.
*/
public static final OpenIDTokenType OPENID11_TOKEN =
new OpenIDTokenType(... | 279 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.infocard;
import org.openid4java.OpenIDException;
/**
* @author Johnny Bufu
*/
public class InfocardException extends OpenIDException
{
public InfocardException(String message)
{
super(message, INFOCARD_ERROR);
}
... | 142 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery;
import java.io.Serializable;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public interface Identifier extends Serializable
{
public String getIdentifier();
}
| 60 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class XriIdentifier implements Identifier
{
private String identifier;
private String iriNormalForm;
private String uriNormalForm;
public XriIdentifier(St... | 307 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery;
import org.openid4java.OpenIDException;
/**
* @author Marius Scurtescu, Johnny Bufu
*/
public class DiscoveryException extends OpenIDException
{
public DiscoveryException(String message)
{
super(message, DISC... | 189 |
github-java-corpus | 2,012 | package org.openid4java.discovery.xri;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.discovery.DiscoveryException;
imp... | 1,742 |
github-java-corpus | 2,012 | package org.openid4java.discovery.xri;
import com.google.inject.ImplementedBy;
import org.openid4java.discovery.DiscoveryException;
import org.openid4java.discovery.XriIdentifier;
import org.openid4java.discovery.Identifier;
import java.util.List;
@ImplementedBy(XriDotNetProxyResolver.class)
public interface XriRes... | 165 |
github-java-corpus | 2,012 | package org.openid4java.discovery.xri;
import com.google.inject.Inject;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.http.HttpStatus;
import org.openid4java.discovery.DiscoveryException;
import org.openid4java.discovery.DiscoveryInformation;
import org.openid4... | 968 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery;
import com.google.inject.Inject;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openid4java.discovery.html.HtmlResolver;
import org.openid4java.discovery.xri.XriResolver;
import... | 1,269 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery.html;
import org.openid4java.discovery.UrlIdentifier;
import org.openid4java.discovery.DiscoveryException;
import java.net.URL;
import java.net.MalformedURLException;
/**
* Holds information obtained by performing HTML discov... | 595 |
github-java-corpus | 2,012 | /*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.discovery.html;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.html.dom.HTMLDocumentImpl;
import org.openid4java.OpenIDException;
imp... | 1,177 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.