org.apache.geronimo.security.jacc
Interface RunAsSource
- All Known Subinterfaces:
- PrincipalRoleMapper
- All Known Implementing Classes:
- ApplicationPolicyConfigurationManager, ApplicationPrincipalRoleConfigurationManager
public interface RunAsSource
- Version:
- $Rev: 809078 $ $Date: 2009-08-29 08:51:12 +0800 (Sat, 29 Aug 2009) $
NULL
static final RunAsSource NULL
getDefaultSubject
Subject getDefaultSubject()
- Returns:
- the non-null default subject for this security environment
getSubjectForRole
Subject getSubjectForRole(String role)
- If role is null, return null. Otherwise return a non-null Subject or throw an IllegalArgumentException.
- Parameters:
role - role to estabilish identity for
- Returns:
- non-null Subject embodying the identity for the supplied non-null role, or null if role is null.
Copyright © 2003-2011 The Apache Geronimo development community. All Rights Reserved.