1 17 18 package org.apache.geronimo.security; 19 20 import javax.security.auth.Subject ; 21 22 25 public class Callers { 26 27 private final Subject currentCaller; 28 private final Subject nextCaller; 29 30 public Callers(Subject currentCaller, Subject nextCaller) { 31 this.currentCaller = currentCaller; 32 this.nextCaller = nextCaller; 33 } 34 35 public Subject getCurrentCaller() { 36 return currentCaller; 37 } 38 39 public Subject getNextCaller() { 40 return nextCaller; 41 } 42 } 43 | Popular Tags |