View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.api.security;
8   
9   import java.io.Serializable;
10  
11  /**
12   * <code>SecurityContext</code> holds security information and is associated
13   * with the MuleSession.
14   * 
15   * @see org.mule.api.MuleSession
16   */
17  
18  public interface SecurityContext extends Serializable
19  {
20      void setAuthentication(Authentication authentication);
21  
22      Authentication getAuthentication();
23  }