|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.sso.impl.SSOSiteImpl
public class SSOSiteImpl
SSOSiteImpl Class holding information about the Site and credentials for Single Sign on SSO. OJB will map the database entries into this class
| Constructor Summary | |
|---|---|
SSOSiteImpl()
|
|
| Method Summary | |
|---|---|
void |
addPrincipal(SSOPrincipal principal)
addPrincipal Adds the SSOPrincipal to the principals collection |
void |
configFormAuthentication(java.lang.String formUserField,
java.lang.String formPwdField)
Form authentication requires two fields that hold the credential information for the request. |
java.lang.String |
getFormPwdField()
|
java.lang.String |
getFormUserField()
|
java.lang.String |
getName()
|
java.util.Collection |
getPrincipals()
|
java.lang.String |
getRealm()
|
java.util.Collection |
getRemotePrincipals()
getRemotePrincipals |
int |
getSiteId()
|
java.lang.String |
getSiteURL()
|
boolean |
isAllowUserSet()
|
boolean |
isCertificateRequired()
|
boolean |
isChallangeResponseAuthentication()
|
boolean |
isFormAuthentication()
|
void |
removePrincipal(long principalId)
removePrincipal() removes a principal from the principals collection |
void |
setAllowUserSet(boolean isAllowUserSet)
|
void |
setCertificateRequired(boolean isCertificateRequired)
|
void |
setChallengeResponseAuthentication()
|
void |
setChallengeResponseAuthentication(boolean isChallangeResponseAuthentication)
|
void |
setFormAuthentication(boolean isFormAuthentication)
Define the Authentication methods. |
void |
setFormAuthentication(java.lang.String formUserField,
java.lang.String formPwdField)
Form authentication requires two fields that hold the credential information for the request. |
void |
setFormPwdField(java.lang.String formPwdField)
|
void |
setFormUserField(java.lang.String formUserField)
|
void |
setName(java.lang.String name)
|
void |
setPrincipals(java.util.Collection principals)
|
void |
setRealm(java.lang.String realm)
|
void |
setRemotePrincipals(java.util.Collection remotePrincipals)
setRemotePrincipals |
void |
setSiteId(int siteId)
|
void |
setSiteURL(java.lang.String siteURL)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSOSiteImpl()
| Method Detail |
|---|
public boolean isAllowUserSet()
isAllowUserSet in interface SSOSitepublic void setAllowUserSet(boolean isAllowUserSet)
setAllowUserSet in interface SSOSiteisAllowUserSet - The isAllowUserSet to set.public boolean isCertificateRequired()
isCertificateRequired in interface SSOSitepublic void setCertificateRequired(boolean isCertificateRequired)
setCertificateRequired in interface SSOSiteisCertificateRequired - The isCertificateRequired to set.public java.lang.String getName()
getName in interface SSOSitepublic void setName(java.lang.String name)
setName in interface SSOSitename - The name to set.public java.util.Collection getPrincipals()
getPrincipals in interface SSOSitepublic void setPrincipals(java.util.Collection principals)
setPrincipals in interface SSOSiteprincipals - The principals to set.public int getSiteId()
getSiteId in interface SSOSitepublic void setSiteId(int siteId)
setSiteId in interface SSOSitesiteId - The siteId to set.public java.lang.String getSiteURL()
getSiteURL in interface SSOSitepublic void setSiteURL(java.lang.String siteURL)
setSiteURL in interface SSOSitesiteURL - The siteURL to set.
public void addPrincipal(SSOPrincipal principal)
throws SSOException
addPrincipal in interface SSOSiteSSOException
public void removePrincipal(long principalId)
throws SSOException
removePrincipal in interface SSOSiteSSOExceptionpublic java.util.Collection getRemotePrincipals()
SSOSite
getRemotePrincipals in interface SSOSitepublic void setRemotePrincipals(java.util.Collection remotePrincipals)
SSOSite
setRemotePrincipals in interface SSOSiteremotePrincipals - The remotePrincipals to set.
public void setFormAuthentication(java.lang.String formUserField,
java.lang.String formPwdField)
public void setChallengeResponseAuthentication()
public java.lang.String getFormPwdField()
getFormPwdField in interface SSOSitepublic void setFormPwdField(java.lang.String formPwdField)
setFormPwdField in interface SSOSitepublic java.lang.String getFormUserField()
getFormUserField in interface SSOSitepublic void setFormUserField(java.lang.String formUserField)
setFormUserField in interface SSOSitepublic boolean isChallangeResponseAuthentication()
isChallangeResponseAuthentication in interface SSOSitepublic void setChallengeResponseAuthentication(boolean isChallangeResponseAuthentication)
setChallengeResponseAuthentication in interface SSOSitepublic boolean isFormAuthentication()
isFormAuthentication in interface SSOSitepublic void setFormAuthentication(boolean isFormAuthentication)
SSOSite
setFormAuthentication in interface SSOSite
public void configFormAuthentication(java.lang.String formUserField,
java.lang.String formPwdField)
SSOSite
configFormAuthentication in interface SSOSitepublic void setRealm(java.lang.String realm)
setRealm in interface SSOSitepublic java.lang.String getRealm()
getRealm in interface SSOSite
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||