Coverage report

  %line %branch
org.apache.jetspeed.sso.impl.SSOCookieImpl
0% 
0% 

 1  
 /* 
 2  
  * Licensed to the Apache Software Foundation (ASF) under one or more
 3  
  * contributor license agreements.  See the NOTICE file distributed with
 4  
  * this work for additional information regarding copyright ownership.
 5  
  * The ASF licenses this file to You under the Apache License, Version 2.0
 6  
  * (the "License"); you may not use this file except in compliance with
 7  
  * the License.  You may obtain a copy of the License at
 8  
 *
 9  
 *     http://www.apache.org/licenses/LICENSE-2.0
 10  
 *
 11  
 * Unless required by applicable law or agreed to in writing, software
 12  
 * distributed under the License is distributed on an "AS IS" BASIS,
 13  
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
 * See the License for the specific language governing permissions and
 15  
 * limitations under the License.
 16  
 */
 17  
 
 18  
 /*Created on: Nov 23, 2005 */
 19  
 
 20  
 package org.apache.jetspeed.sso.impl;
 21  
 
 22  
 import java.sql.Timestamp;
 23  
 import java.util.Collection;
 24  
 import java.util.Vector;
 25  
 
 26  
 import org.apache.jetspeed.sso.SSOCookie;
 27  
 
 28  
 /**
 29  
  * @author Roger Ruttimann <rogerrut@apache.org>
 30  
  *
 31  
  */
 32  0
 public class SSOCookieImpl implements SSOCookie {
 33  
 	
 34  
 	/**
 35  
 	 * Internal for storing object values
 36  
 	 */
 37  
 	
 38  
 	private int cookieId;
 39  
 	private String cookie;
 40  
 	private Timestamp createDate;
 41  0
 	private Collection remotePrincipals = new Vector();
 42  
 
 43  
 	/* (non-Javadoc)
 44  
 	 * @see org.apache.jetspeed.sso.SSOCookie#setCookieId(int)
 45  
 	 */
 46  
 	public void setCookieId(int cookieId) {
 47  0
 		this.cookieId = cookieId;
 48  0
 	}
 49  
 
 50  
 	/* (non-Javadoc)
 51  
 	 * @see org.apache.jetspeed.sso.SSOCookie#getCookieId()
 52  
 	 */
 53  
 	public int getCookieId() {
 54  0
 		return this.cookieId;
 55  
 	}
 56  
 
 57  
 	/* (non-Javadoc)
 58  
 	 * @see org.apache.jetspeed.sso.SSOCookie#setCookie(java.lang.String)
 59  
 	 */
 60  
 	public void setCookie(String cookieValue) {
 61  0
 		this.cookie = cookieValue;
 62  0
 	}
 63  
 
 64  
 	/* (non-Javadoc)
 65  
 	 * @see org.apache.jetspeed.sso.SSOCookie#getCookie()
 66  
 	 */
 67  
 	public String getCookie() {
 68  0
 		return this.cookie;
 69  
 	}
 70  
 
 71  
 	/* (non-Javadoc)
 72  
 	 * @see org.apache.jetspeed.sso.SSOCookie#setCreateDate(java.sql.Timestamp)
 73  
 	 */
 74  
 	public void setCreateDate(Timestamp createDate) {
 75  0
 		this.createDate = createDate;
 76  0
 	}
 77  
 
 78  
 	/* (non-Javadoc)
 79  
 	 * @see org.apache.jetspeed.sso.SSOCookie#getCreateDate()
 80  
 	 */
 81  
 	public Timestamp getCreateDate() {
 82  0
 		return this.createDate;
 83  
 	}
 84  
 	
 85  
 	/**
 86  
 	 * 
 87  
 	 * @return
 88  
 	 */
 89  
 	public Collection getRemotePrincipals()
 90  
 	{
 91  0
 		return this.remotePrincipals;
 92  
 	}
 93  
 	
 94  
 	/**
 95  
 	 * 
 96  
 	 * @param remotePrincipals
 97  
 	 */
 98  
 	public void setRemotePrincipals(Collection remotePrincipals)
 99  
 	{
 100  0
 		this.remotePrincipals = remotePrincipals;
 101  0
 	}
 102  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.