小议:哪些用户是SharePoint System Account?

我们在使用SharePoint时候经常会看到登录的用户显示的是System Account,但是当前登录的却是一个域用户,比如Domain\tina,那什么样的用户SharePoint会被识别成System Account呢?

 

其实SharePoint会把三种情况下填写的用户判断为System Account,但是不同位置的用户作用范围却不一样,具体如下:

 

  1. 配置SharePoint Farm时填写的用户:对整个Farm有效;
  2. IIS Application PoolIdentity填写的用户:对使用此IISApplication Pool的所有Web Application有效;
  3. Web ApplicationUser Policy中具有Full Control权限,同时勾选Account operation as System的用户:紧当前Web Application有效。

 

下面就以SharePoint2013为例,分别看下每个用户的设置位置具体是哪里?

 

  • 配置SharePoint Farm的用户

 

此用户是指在安装完SharePoint后,使用SharePointConfiguration Wizard配置过程中创建Farm时填写的用户。

 

  • IIS Application PoolIdentity用户

 

SharePoint创建Web Application,选择Create new application pool时填写的用户。此处也可以点击"Registermew managed account"创建新用户使用。

 

  • Web ApplicationUser Policy中具有Full Control权限,同时勾选Account operation as System的用户

 

  1. 选择Web Application,点击Robbin上的User Policy

  1. 在弹出Policy for Web Application窗口中点击Add User或者Edit Permissions of Selected Users,在Permissions中选择Full Control,同时勾选下面"Account operates as System" checkbox,点击OK保存。

 

 

 

以上就是SharePoint System Account的介绍,感谢阅读!

项目名称:Bank Account Management System 银行账户管理系统 简称BAM 项目描述:这是一个基于C/S结构的银行账户在线管理系统,用户可以通过ATM终端界面来操作自己的银行账户. 项目实施方式:这是一个同步练习,随着达内CoreJava课程的深入,这个项目将趋于完整,学员的任务是随着知识点的深入,完成每一个进阶的项目要求. 项目一 练习1:(面向对象基础语法) 写一个账户类(Account),属性: id:账户号码 长整数 password:账户密码 name:真实姓名 personId:身份证号码 字符串类型 email:客户的电子邮箱 balance:账户余额 方法: deposit: 存款方法,参数是double型的金额 withdraw:取款方法,参数是double型的金额 构造方法: 有参和无参,有参构造方法用于设置必要的属性 练习2:(封装) 将Account类作成完全封装,注意:要辨别每个属性的set/get方法是否需要公开 练习3:(继承,多态) 银行的客户分为两类,储蓄账户(SavingAccount)和信用账户(CreditAccount),区别在于储蓄账户不允许透支,而信用账户可以透支,并允许用户设置自己的透支额度. 注意:CreditAccount需要多一个属性 ceiling 透支额度 为这两种用户编写相关的类 同时要求编写Bank类,属性: 1.当前所有的账户对象的集合,存放在数组中 2.当前账户数量 方法: 1.用户开户,需要的参数:id,密码,密码确认,姓名,身份证号码,邮箱,账户类型(int),返回新创建的Account对象 2.用户登录,参数:id,密码 返回Account对象,提示 用s1.equals(s2)判断s1和s2两个字符串内容是否相等 3.用户存款,参数:id,存款数额,返回修改过的Account对象 4.用户取款,参数:id,取款数额,返回修改过的Account对象 5.设置透支额度 参数:id,新的额度 ,返回修改过的Account对象.这个方法需要验证账户是否是信用账户 用户会通过调用Bank对象以上的方法来操作自己的账户,请分析各个方法需要的参数 另外,请为Bank类添加几个统计方法 1.统计银行所有账户余额总数 2.统计所有信用账户透支额度总数 写个主方法测试你写的类 项目二 练习4:(语言高级特性,三个修饰符) 1.修改Account类,银行用户的账号(id)是自动生成的,初始值为100000,第一个开户的用户id为100001,第二个为100002,依此类推. 提示:构造对象的时候采用static属性为id赋值 2.对于Account类,有两个方法,存款方法和取款方法,请修改这两个方法. 存款方法改为不允许子类修改 取款方法根据不同的子类而不同,因此,改为抽象方法,在两个子类中分别实现 3.将Bank类作成单例 项目三 练习5:(接口) 为SavingAccount和CreditAccount各自添加一个子类 LoanSavingAccount类:用户可以贷款,不可以透支 LoanCreditAccount类:用户可以贷款,可以透支 说明:贷款和透支是不一样的,透支指的是账户余额小于0,而贷款用户需要一个贷款额的属性. 在ATM机上,用户可以选择贷款,也可以选择还贷款,而还贷款就是要把账户余额上的资金转到贷款额上 例如:用户余额10000元,贷款额100000元,用户可以选择还款5000元,则用户余额变为5000,贷款额变为95000元. 利用接口来抽象出LoanSavingAccount类和LoanCreditAccount类的共性 接口中的方法: requestLoan:贷款 payLoan:还贷 getLoan:获取用户贷款总额 为Bank类添加三个方法, 贷款:参数 id,贷款额,返回修改过的Account对象 还贷款:参数 id,还款额,返回修改过的Account对象 统计所有账户贷款的总数 练习6:(Object) 为Account类及其子类添加toString方法和equals方法 项目四 练习7:(Exception) 为BAM添加几个异常类 BalanceNotEnoughException :用于取钱的时候余额不足的情况(包括账户余额超过透支额的情况) RegisterException:用于开户异常的情况,例如密码两次输入不一致等情况 LoginException:用户登录异常的情况,例如id错误,密码错误 LoanException:贷款额不能为负数,如果用户试图将贷款额置为负数,则会抛出这个异常 以上四个异常类有一个共同的父类 BusinessException 并妥善的处理这些异常 项目五 练习8:(集合) 改写Bank类,采用集合的方式来管理多个Account对象 为Bank类添加一个方法 打印所有用户的总资产排名 说明:一个用户可能会有多个账号,以身份证号为准.总资产指多个账户余额的总和,不需要考虑贷款账户的贷款额 项目六 练习9:(GUI) 为BAM添加用户界面 需要以下几个类: BAMClient 其中会包含一个Frame,这是用户主界面 MainPanel:主界面,用户可以选择开户或者登录 RegisterPanel:用户开户具体用到的界面 LoginPanel:用户登录需要的界面 BusinessPanel:界面上会显示账户的功能 至少包括存款和取款,对于可透支的用户,还允许用户修改透支额度,对于贷款用户,还允许用户贷款和还贷款 注:本练习的界面布局不做要求,请阅读现有代码,添加事件处理代码 提示:在开户或者登录之后都会跳到BusinessPanel,而用户点击了交易之后,界面停留在BusinessPanel 要随时注意在BusinessPanel上根据数据的变化更新显示信息 项目七 在该加资源保护的地方加上,没有标准 项目八 练习10:(I/O) 修改Bank类,账户信息会采用对象序列化的方式存放在文件中.当Bank对象生成的时候会读取文件,设置账户集合.当账户信息改变的时候,会随时更新文件 设计一个FileDAO类(文件数据访问对象),负责对文件的访问,包括存放账户,提取账户等方法,在Bank类中,会通过FileDAO对象来访问文件 注意:如果已有的账户对象会存在文件中,那么为新的账户对象分配id的做法也应相应的改变,过去的用static属性的做法不再合适,应该改为,把下一个可用的id存放在一个文件中,每创建一个新对象的时候都会读取这个文件,获得新对象的id,并且修改文件中的id,使其加1.这个工作可以放在Account类的构造方法中 项目九 练习11:(网络) 在现有的BAM中,用户是通过界面直接访问Bank对象的,将其改为C/S结构,由界面充当客户端,通过TCP协议访问服务器端的Bank对象. 提示:客户端和服务器端需要通过对象来传递信息,这里会使用对象序列化技术.
Bank Account Management System 银行账户管理子系统 简称BAMS 这是一个基于C/S结构的银行账户在线管理系统,用户可以通过ATM终端界面来操作自己的银行账户. ATM 1: 要求1:封装一个Account类 - 业务数据 写一个账户类(Account),属性并且完全封装(注意:要辨别每个属性的set/get方法是否需要公开): id:账户号码 长整数(Long) password:账户密码 字符串类型(String) name:真实姓名 字符串类型(String) personId:身份证号码 字符串类型(String) email:客户的电子邮箱 字符串类型(String) balance:账户余额 双精度(double) 方法: deposit: 存款方法,参数类型:double, 返回类型:Account withdraw:取款方法,参数类型:double, 返回类型:Account 构造方法: 有参和无参,有参构造方法用于设置必要的属性 ATM 2:要求1:完成以下两种账户类型的编码。 银行的客户分为两大类:储蓄账户(SavingAccount)和信用账户(CreditAccount),两种的账户类型的区别在于: 储蓄账户不允许透支,而信用账户可以透支,并在用户在满足银行条件的情况下允许用户调整自己的透支额度. 注意: 1、CreditAccount需要多一个属性 ceiling 透支额度; 2、CreditAccount需要覆盖(重写)Account中的取款方式withdraw()。 要求2:完成Bank类的编码。 属性: 1.当前所有的账户对象的信息,存放在数组中: Account[]. 2.当前账户数量index. 方法: 1. 用户开户(register) 参数列表: Long 账号, String密码, String确认密码,String 姓名,String身份证号码,String邮箱,int 账户类型; (Long id, String password, String repassword, String name, String personID, String email, int type) 返回类型:Account 项目需求规定账户类型:0 – 储蓄账户 1 – 信用账户 2 – 可贷款储蓄账户 3– 可贷款信用账户 2. 用户登录(login) 参数列表: Long 账号, String密码; (Long id, String password) 返回类型:Account 3. 用户存款(deposit) 参数列表: Long 账号, double存款金额; (Long id, double money) 返回类型:Account 4. 用户取款(withdraw) 参数列表: Long 账号,String 密码,double取款金额; (Long id, String password, double money) 返回类型:Account 5. 设置透支额度(updateCeiling) 参数列表: Long 账号, String 密码,double透支额度金额; (Long id, String password, double money) 返回类型:Account 提示:这个方法需要验证账户是否是信用账户 6. 转账功能(transfer) 参数:from转出账户,passwordFrom 转出账号的密码,to转入账户,money转账的金额 (Long from, String passwordFrom, Long to, double money) 返回值:boolean 要求3:另外,请为Bank类添加几个统计方法 1.统计银行所有账户余额总数 2.统计所有信用账户透支额度总数 要求4:编写测试类 写个测试类,测试以上代码能否正常工作。 要求5:覆盖toString方法 查看对象的内容。 ATM 3: 要求1:让银行来提供账号(id)的生成 修改Account类和Bank类,银行用户的账号(id)应是自动生成的,初始值为: 862150212013020001(国家+邮编+年+月+序号)。 比如:第一个开户的账号为862150212013020001,第二开户的账号为862150212013020002 … 依此类推. 要求2:修改存款和取款方法 对于Account类中的存款方法和取款方法进行修改. 存款方法:改为不允许子类修改 取款方法:改为抽象方法,便于在子类中去覆盖(重写) 要求3:单例 将Bank类作成单例。 提醒:一定要理解使用单例模式的原理。 ATM 4: 要求1:新增一个贷款功能 为了满足业务发展的需求,银行需要为用户提供贷款的功能,来满足更多的用户需求。 抽象出一个贷款功能的接口:Loanable 该接口具有以下功能: a) 贷款(requestLoan) 参数:money贷款金额 返回类型:Account b) 还贷(payLoan) 参数:money还贷款金额 返回类型:Account 提醒:一定要理解抽象接口的原理和真实含义。 要求2:新增两种的新的账户类型 为了满足业务发展的需求,新增两种具有贷款功能的账户类型:可以贷款不可以透支账户和可以贷款可以透支账户; 为SavingAccount和CreditAccount各自添加一个子类LoanSavingAccount类和LoanCreditAccount类,同时让两个新增的子类都必须要实现Loanable接口。为了表示某个贷款账户的贷款金额,需要为所有的可贷款账户提供一个能记录贷款金额,所以要为CreditAccount类整一个普通的成员属性loanAmount,为长整形(long)。 说明1:LoanSavingAccount类表示该账户可以贷款,不可以透支; LoanCreditAccount类表示该账户可以贷款,可以透支。 说明2:贷款和透支是不一样的,透支指的是账户余额小于0,而贷款用户需要一个贷款额的属性. 在ATM机上,用户可以选择贷款,也可以选择还贷款,而还贷款就是要把账户余额上的资金转到贷款额上 例如: 用户余额10000元,贷款额100000元,用户可以选择还款5000元,则用户余额变为5000,贷款额变为95000元. 要求3:为Bank类添加三个新方法 a) 贷 款(requestLoan) 参数:id 账户,money贷款金额 (Long id , double money) 返回类型:Account b) 还贷款(requestLoan) 参数:id 账户,money还贷款金额 (Long id , double money) 返回类型:Account c) 统计所有账户贷款的总额(totoal) 参数:无 返回类型:double ATM 5: 要求1: 修写Bank类,采用集合的方式来管理多个Account对象 注意:通过分析每种集合的具体功能和特性后,选择合适的集合类型实现该功能。 要求2: 为Bank类添加一个方法,能够打印所有用户的总资产排名(提高部分) 说明: 1)、一个用户可能会有多个账号,以身份证号为准. 2)、总资产指多个账户余额的总和,不需要考虑贷款账户的贷 ATM 6:Exception 要求1: 为ATM增加业务异常类: ATMException: ATM业务异常基类。 BalanceNotEnoughException :用于取钱的时候余额不足的情况(包括账户余额超过透支额的情况) RegisterException:用于开户异常的情况,例如密码两次输入不一致等情况 LoginException:用户登录异常的情况,例如id错误,密码错误 LoanException:贷款额不能为负数,如果用户试图将贷款额置为负数,则会抛出这个异常 注意:在此异常的基础也可以继续扩展适合业务的异常类。 ATM 7:Swing GUI开发 第一步部分:为ATM项目添加用户客户端操作界面 需要以下几个类: 1) ATMClient: 其中会包含一个Frame,这是用户主界面. 2) MainPanel:主界面,用户可以选择开户或者登录 3) RegisterPanel:用户开户具体用到的界面 4) LoginPanel:用户登录需要的界面 5) BusinessPanel:界面上会显示账户的功能, 至少包括存款\取款\对于可透支的用户,允许用户修改透支额度\对于贷款用户,允许用户贷款和还贷款\转账。 第二步部分:为用户客户端操作界面添加事件处理 要求:在开户或者登录之后都会跳到BusinessPanel,而用户点击了交易之后,界面停留在BusinessPanel 要随时注意在BusinessPanel上根据数据的变化更新显示信息。 ATM 8:I/O&File 项目详细内容介绍 1、 分析: 将账户对象保存文件中,前期为新的账户对象分配id的做法(使用static特性)不再合适现今业务需求,也应相应的改变。 解决方案: 将下一个可用的id存放在文件中,每创建一个新对象的时候都会读取这个文件,获得新对象的id,并且修改文件中的id,使其加1后,再保存到文件中。 2、 修改Bank类中各个业务方法 分析: 要将账户信息全部保存到文件中,然后再从文件读取到内存中进行业务操作,而后再将处理完的业务对象重新保存到文件中永久保存起来。 解决方案: 1)采用对象序列化和反序列化技术。 2)将全部账户信息采用对象序列化的方式存放在文件中。 提示: 1) 使用文件来保存各种账户的信息,将注册、存款、取款、转账、修改之后的信息要及时的保存到文件中,时刻保证内存和文件中数据的一致性。 2) 采用何种存放方式,自由发挥决定。 ATM 9:NetWork 分析: 在现有的ATM中,用户是通过界面直接访问Bank对象,这种方式不符合业务需求,因为银行后台是受保护的绝对安全的业务操作,所以将其改为C/S结构,由界面充当客户端,通过TCP协议访问服务器端的核心业务对象(Bank对象). 解决方案: 1) 多线程技术 2) 网络编程技术 3) 需要完成服务端的编程,负责完成接收客户端的请求和相关业务处理。 注意:如何保证多个客户端同时登陆,并且保证业务数据在冲突的情况下,不能受到破坏。 提示:客户端和服务器端需要通过对象(TO)来传递信息,,这里会使用对象序列化技术.
Get the critical, in-depth information you need to administer SharePoint 2010. Led by SharePoint MVPs and featuring insights from the SharePoint community and members of the SharePoint Team at Microsoft, you'll discover how to plan, design, deploy, and manage strategic solutions using SharePoint 2010, Microsoft SQL Server®, Windows PowerShell™, and other key technologies. Topics include architecture, deployment scenarios, design considerations, security best practices, high availability, performance, centralized administration, disaster recovery, customization, solution development, and upgrade and migration strategies. Key solutions include building and managing a server farm, automating tasks, FAST search application management, enterprise and web content management, and business intelligence. Table of Contents 1. The Basics 1. Chapter 1 Understanding the Basics of Collaboration in SharePoint 2010 1. Introducing SharePoint 2010 Capabilities 2. Using SharePoint Sites and Templates 3. Editing Features in SharePoint 2010 4. Working with Lists and Libraries 5. Advanced List Concepts 6. Microsoft Office Integration 7. Summary 2. Chapter 2 Understanding the Architecture of SharePoint 2010 1. Enterprise Architecture 2. Logical Architecture Components 3. Capabilities 4. Deployment 5. Application Pools 6. Summary 2. Installation and Implementation 1. Chapter 3 Optimizing SQL Server for a SharePoint 2010 Implementation 1. About SQL Server 2. Installing and Configuring SQL Server 2008 for SharePoint 2010 3. Optimizing SQL Server for SharePoint 2010 4. Optimizing Outside of SQL Server 5. Summary 2. Chapter 4 Installing SharePoint 2010 1. Introducing SharePoint 2010 Installation Types 2. Preparing for SharePoint 2010 Installation 3. Performing SharePoint 2010 Installations 4. Configuring a SharePoint 2010 Installation 5. Uninstalling SharePoint 2010 6. Summary 3. Building and Managing a SharePoint Farm 1. Chapter 5 Using Windows PowerShell to Perform and Automate Farm Administrative Tasks 1. Using Windows PowerShell: The Basics 2. Working with the SharePoint 2010 Management Shell 3. Examples of SharePoint Administrative Tasks 4. Summary 2. Chapter 6 Managing SharePoint 2010 Using Central Administration 1. Introducing Central Administration 2. Navigating the Central Administration Home Page 3. Performing Administrative Tasks Using Central Administration 4. Summary 3. Chapter 7 Scaling Out a SharePoint Farm 1. History of SharePoint Farms 2. Services Federation 3. Scaling Service Applications Architecture 4. Identifying a Logical Location of Services on Servers 5. Configuring Service Applications 6. Publishing Service Applications to Remote Farms 7. Topologies for SharePoint 2010 8. Summary 4. Chapter 8 Information Management Policies 1. Introducing Records Management and Information Management Policies 2. Implementing and Configuring Information Management Policies 3. Implementing and Configuring a Records Center 4. Implementing and Managing In Place Records 5. Summary 4. Organizing, Publishing, and Finding Information 1. Chapter 9 Organizing Information 1. Developing an Information Architecture with Sharepoint 2010 2. SharePoint 2010, Putability, and Findability 3. Putability and the Managed Metadata Service 4. Building an Information Architecture 5. An Information Organization Project 6. SharePoint 2010 Tools to Organize Information 7. Summary 2. Chapter 10 Collaboration and Portals 1. Using Collaboration Sites 2. Choosing to Use Portal Sites 3. The Benefits of Enterprise Wikis 4. Sharing Knowledge: The Social Experience 5. Creating an Information Repository with the User Profile Service 6. Summary 3. Chapter 11 Search Server 2010 and FAST Search: Architecture and Administration 1. Introducing Enterprise Search 2. Search Architecture 3. Farm and Application Configuration 4. Configuring Crawls 5. Managing Crawls 6. Reviewing and Troubleshooting Crawls 7. Managing the Search Service Topology 8. FAST Search Server 2010 for SharePoint 9. Summary 4. Chapter 12 Using Windows PowerShell to Manage Search Services and FAST Search 1. Working with Basic Search 2. Using Enterprise Search 3. Deploying and Managing FAST Search with Windows PowerShell 4. Summary 5. Chapter 13 Customizing the Search Results and Search Center 1. Benefits of the Search Features 2. Introducing SharePoint Search 3. Improving the User Experience 4. Customizing Search Pages 5. Improving Search Quality 6. Improving Collection Quality 7. Summary 6. Chapter 14 Administering Enterprise Content Management 1. Document Management 2. Enterprise Metadata Management 3. Records Management 4. Web Content Management 5. Digital Asset Management 6. Summary 7. Chapter 15 Administering Web Content Management and Publishing 1. Publishing Site Types and Features 2. Administering Publishing Sites 3. Authoring and Publishing Web Content 4. Configuring Content Caching 5. Managing Content Deployment 6. Summary 8. Chapter 16 Securing Information 1. Introducing SharePoint Security 2. Securing a SharePoint Farm 3. Securing a Web Application 4. Securing Site Collections 5. Securing Sites 6. Securing Lists 7. Windows PowerShell Security 8. Service Application Permissions 9. Summary 9. Chapter 17 Data Protection, Recoverability, and Availability 1. Introducing Disaster Recovery 2. Disaster Recovery Planning 3. Using SharePoint 2010 Disaster Recovery Tools 4. Performing Backups and Restores 5. High-Availability Options in SharePoint 2010 6. Ensuring a Full Farm Recovery 7. Summary 5. Advanced Topics 1. Chapter 18 Aggregating External Data Sources 1. What Are the Business Connectivity Services? 2. Using the Business Data Connectivity Service Application and Model 3. Understanding the BCS Security Options 4. Managing Data Connections 5. Building Composite Solutions 6. Summary 2. Chapter 19 Web Parts and Their Functionality in SharePoint 2010 1. Introducing Web Parts 2. Before You Begin Developing Web Parts 3. Managing Web Parts 4. Exploring New and Improved Out-of-the-Box Web Parts 5. Other Web Parts 6. Summary 3. Chapter 20 Publishing SharePoint 2010 to Mobile Devices 1. Introducing SharePoint Mobile in 2010 2. Previewing Mobile Access Device Options 3. Setting Up SMS Alerts 4. Exploring Mobile Access Scenarios 5. Examining Common Firewall Configurations 6. Setting Up UAG for SharePoint 7. Summary 4. Chapter 21 Business Intelligence, Reporting Services, and PerformancePoint Services 1. Decision Making and BI 2. Establishing a Common Language 3. SQL Server Reporting Services 2008 4. PerformancePoint Services 2010 5. Summary 5. Chapter 22 Upgrading to SharePoint 2010 1. Introduction to SharePoint 2010 Upgrades 2. SharePoint 2010 Upgrade Types 3. Preparing to Upgrade to SharePoint 2010 4. SharePoint 2010 Upgrade Considerations 5. Performing a Database Attach Upgrade 6. Performing an In-Place Upgrade 7. Performing Post-Upgrade Configurations 8. Summary 6. Chapter 23 Creating and Managing Workflows 1. Understanding Human Workflows 2. Understanding System Workflows 3. Workflows in SharePoint 2010 4. Workflow Modeling and Development Tools 5. Planning for Workflow Deployment 6. Setting Up Workflow Configurations 7. Deploying Workflows 8. Monitoring Workflows 9. Troubleshooting Workflow Issues 10. Summary
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值