Added: portals/jetspeed-2/portal/trunk/openid-step2/common/src/main/java/org/doomdark/uuid/UUIDGenerator.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/openid-step2/common/src/main/java/org/doomdark/uuid/UUIDGenerator.java?rev=929218&view=auto ============================================================================== --- portals/jetspeed-2/portal/trunk/openid-step2/common/src/main/java/org/doomdark/uuid/UUIDGenerator.java (added) +++ portals/jetspeed-2/portal/trunk/openid-step2/common/src/main/java/org/doomdark/uuid/UUIDGenerator.java Tue Mar 30 18:41:47 2010 @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.doomdark.uuid; + +import java.util.UUID; + +/** + * Stub JUG 1.1.2 UUIDGenerator implementation. + */ +public final class UUIDGenerator +{ + private static UUIDGenerator instance = null; + + private static UUIDGenerator getInstance() + { + if (instance == null) + { + instance = new UUIDGenerator(); + } + return instance; + } + + public UUID generateTimeBasedUUID() + { + // stub with random, (type 4), UUID generation + return UUID.randomUUID(); + } +}
Added: portals/jetspeed-2/portal/trunk/openid-step2/pom.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/openid-step2/pom.xml?rev=929218&view=auto ============================================================================== --- portals/jetspeed-2/portal/trunk/openid-step2/pom.xml (added) +++ portals/jetspeed-2/portal/trunk/openid-step2/pom.xml Tue Mar 30 18:41:47 2010 @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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 to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <name>STEP2 Project</name> + + <groupId>com.google.step2</groupId> + <artifactId>step2-parent</artifactId> + <version>0</version> + <packaging>pom</packaging> + + <prerequisites> + <maven>2.0.9</maven> + </prerequisites> + + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + </plugins> + </build> + + <modules> + <module>common</module> + </modules> + + <organization> + <name>Google</name> + <url>http://www.google.com</url> + </organization> + + <developers> + <developer> + <id>dirk.balfanz</id> + <name>Dirk Balfanz</name> + <email>[email protected]</email> + <organization>Google</organization> + <organizationUrl>http://www.google.com</organizationUrl> + </developer> + <developer> + <id>breno.demedeiros</id> + <name>Breno de Medeiros</name> + <email>[email protected]</email> + <organization>Google</organization> + <organizationUrl>http://www.google.com</organizationUrl> + </developer> + <developer> + <id>steveweis</id> + <name>Steve Weis</name> + <email>[email protected]</email> + <organization>Google</organization> + <organizationUrl>http://www.google.com</organizationUrl> + </developer> + </developers> + + <!-- + <scm> + <connection>scm:svn:svn://step2.googlecode.com/svn/code/java/trunk</connection> + <developerConnection>scm:svn:svn://step2.googlecode.com/svn/code/java/trunk</developerConnection> + <url>https://step2.googlecode.com/svn/code/java/trunk</url> + </scm> + --> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk/openid-step2</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk/openid-step2</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/portal/trunk/openid-step2</url> + </scm> +</project> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
