Coverage Report - org.mule.extras.pgp.PGPSecurityContext
 
Classes in this File Line Coverage Branch Coverage Complexity
PGPSecurityContext
0%
0/6
N/A
1
 
 1  
 /*
 2  
  * $Id: PGPSecurityContext.java 7963 2007-08-21 08:53:15Z dirk.olmes $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.extras.pgp;
 12  
 
 13  
 import org.mule.umo.security.UMOAuthentication;
 14  
 import org.mule.umo.security.UMOSecurityContext;
 15  
 
 16  
 public class PGPSecurityContext implements UMOSecurityContext
 17  
 {
 18  
     private volatile PGPAuthentication authentication;
 19  
 
 20  
     public PGPSecurityContext(PGPAuthentication authentication)
 21  0
     {
 22  0
         this.authentication = authentication;
 23  0
     }
 24  
 
 25  
     /*
 26  
      * (non-Javadoc)
 27  
      * 
 28  
      * @see org.mule.umo.security.UMOSecurityContext#setAuthentication(org.mule.umo.security.UMOAuthentication)
 29  
      */
 30  
     public void setAuthentication(UMOAuthentication authentication)
 31  
     {
 32  0
         this.authentication = (PGPAuthentication)authentication;
 33  0
     }
 34  
 
 35  
     /*
 36  
      * (non-Javadoc)
 37  
      * 
 38  
      * @see org.mule.umo.security.UMOSecurityContext#getAuthentication()
 39  
      */
 40  
     public UMOAuthentication getAuthentication()
 41  
     {
 42  0
         return authentication;
 43  
     }
 44  
 
 45  
 }