com.raritantechnologies.searchApp
Class SecurityModel

java.lang.Object
  extended bycom.raritantechnologies.searchApp.SecurityModel

public class SecurityModel
extends java.lang.Object

Encapsulates information about the Security model used to connect to a search site.

XML Configuration Template:
   <SecurityModel>
     <search>[public|restricted]</search>
     <fullText>[public|restricted]</fullText>
     <loginName>[(optional) login name for this source]</loginName>
   </SecurityModel>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
SecurityModel()
           
 
Method Summary
 java.lang.String getCipherTransform()
           
 java.lang.String getEncryptionAlgorithm()
           
 java.lang.String getFullTextAccess()
           
 java.lang.String getKeyType()
           
 java.lang.String getLoginName()
           
 java.lang.String getSearchAccess()
           
 java.lang.String getSecurityProvider()
           
 java.lang.String getType()
           
 boolean isPublic()
           
 void setCipherTransform(java.lang.String cipherXForm)
           
 void setEncryptionAlgorithm(java.lang.String algorithm)
          Encryption algorithm used (if any) e.g.
 void setFullTextAccess(java.lang.String fullTextAccess)
           
 void setKeyType(java.lang.String keyType)
          Key type is used by KeyStore to identify the type of key for retrieval
 void setLoginName(java.lang.String loginName)
           
 void setSearchAccess(java.lang.String searchAccess)
          sets Search Access level: Public, Restricted, etc.
 void setSecurityProvider(java.lang.String provider)
           
 void setType(java.lang.String type)
          SecurityModel type Simple = username/password PublicKey = public Key system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityModel

public SecurityModel()
Method Detail

setSearchAccess

public void setSearchAccess(java.lang.String searchAccess)
sets Search Access level: Public, Restricted, etc.


getSearchAccess

public java.lang.String getSearchAccess()

isPublic

public boolean isPublic()

setFullTextAccess

public void setFullTextAccess(java.lang.String fullTextAccess)

getFullTextAccess

public java.lang.String getFullTextAccess()

setLoginName

public void setLoginName(java.lang.String loginName)

getLoginName

public java.lang.String getLoginName()

setType

public void setType(java.lang.String type)
SecurityModel type Simple = username/password PublicKey = public Key system. SharedPrivate = shared private key (e.g. Kerberos ) Certificate


getType

public java.lang.String getType()

setEncryptionAlgorithm

public void setEncryptionAlgorithm(java.lang.String algorithm)
Encryption algorithm used (if any) e.g. DSA, RSA etc.


getEncryptionAlgorithm

public java.lang.String getEncryptionAlgorithm()

setKeyType

public void setKeyType(java.lang.String keyType)
Key type is used by KeyStore to identify the type of key for retrieval


getKeyType

public java.lang.String getKeyType()

setSecurityProvider

public void setSecurityProvider(java.lang.String provider)

getSecurityProvider

public java.lang.String getSecurityProvider()

setCipherTransform

public void setCipherTransform(java.lang.String cipherXForm)

getCipherTransform

public java.lang.String getCipherTransform()