1
2
3
4
5
6
7
8
9
10
11 package org.mule.extras.jaas;
12
13 import org.mule.impl.security.MuleAuthentication;
14 import org.mule.umo.security.UMOAuthentication;
15 import org.mule.umo.security.UMOSecurityContext;
16
17
18
19
20 public class JaasSecurityContext implements UMOSecurityContext
21 {
22
23 private MuleAuthentication authentication;
24
25
26
27
28
29
30 public JaasSecurityContext(MuleAuthentication authentication)
31 {
32 this.authentication = authentication;
33 }
34
35
36
37
38
39
40 public final UMOAuthentication getAuthentication()
41 {
42 return authentication;
43 }
44
45
46
47
48
49
50 public final void setAuthentication(UMOAuthentication authentication)
51 {
52 this.authentication = (MuleAuthentication)authentication;
53 }
54 }