public class PolicyContext extends Object
Constructor and Description |
---|
PolicyContext() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String name,
String value) |
String |
evaluate(String s) |
KeyStore |
getKeystore() |
Principal[] |
getPrincipals() |
String |
getProperty(String name) |
void |
setKeystore(KeyStore keystore) |
void |
setPrincipals(Principal[] principals) |
void |
setProperties(Map<String,String> properties) |
public KeyStore getKeystore()
public void setKeystore(KeyStore keystore)
public Principal[] getPrincipals()
public void setPrincipals(Principal[] principals)
public String evaluate(String s) throws PolicyException
PolicyException
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.