org.wso2.solutions.identity.relyingparty.servletfilter
Class RelyingPartyData
java.lang.Object
org.wso2.solutions.identity.relyingparty.servletfilter.RelyingPartyData
public class RelyingPartyData
- extends java.lang.Object
Method Summary |
java.util.List[] |
getBlackList()
|
java.lang.String |
getIssuerPolicy()
|
java.security.PrivateKey |
getPrivateKey()
|
java.security.KeyStore |
getSystemStore()
|
java.security.KeyStore |
getTrustStore()
|
java.lang.String |
getValidatePolicy()
|
java.util.List[] |
getWhiteList()
|
void |
loadData(javax.servlet.FilterConfig filterConfig)
This method read parameters from web.xml Step 1 : Read my private key
Step 2 : Read the token validation policy Step 3 : Read paramters that is
needed perform token validation
if(promiscuous) ->read nothing else if(blackList) ->read the blacklist
and keystore details else if (whiteList)->read the whitelist and keystor
details |
void |
setBlackList(java.util.List[] blackList)
|
void |
setIssuerPolicy(java.lang.String issuerPolicy)
|
void |
setPrivateKey(java.security.PrivateKey privateKey)
|
void |
setSystemStore(java.security.KeyStore systemStore)
|
void |
setTrustStore(java.security.KeyStore trustStore)
|
void |
setValidatePolicy(java.lang.String validatePolicy)
|
void |
setWhiteList(java.util.List[] whiteList)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelyingPartyData
public RelyingPartyData()
loadData
public void loadData(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- This method read parameters from web.xml Step 1 : Read my private key
Step 2 : Read the token validation policy Step 3 : Read paramters that is
needed perform token validation
if(promiscuous) ->read nothing else if(blackList) ->read the blacklist
and keystore details else if (whiteList)->read the whitelist and keystor
details
- Throws:
javax.servlet.ServletException
getPrivateKey
public java.security.PrivateKey getPrivateKey()
setPrivateKey
public void setPrivateKey(java.security.PrivateKey privateKey)
getValidatePolicy
public java.lang.String getValidatePolicy()
setValidatePolicy
public void setValidatePolicy(java.lang.String validatePolicy)
getIssuerPolicy
public java.lang.String getIssuerPolicy()
setIssuerPolicy
public void setIssuerPolicy(java.lang.String issuerPolicy)
getTrustStore
public java.security.KeyStore getTrustStore()
setTrustStore
public void setTrustStore(java.security.KeyStore trustStore)
getBlackList
public java.util.List[] getBlackList()
setBlackList
public void setBlackList(java.util.List[] blackList)
getWhiteList
public java.util.List[] getWhiteList()
setWhiteList
public void setWhiteList(java.util.List[] whiteList)
getSystemStore
public java.security.KeyStore getSystemStore()
setSystemStore
public void setSystemStore(java.security.KeyStore systemStore)